Archived topic
The archiva page doesn't work
10 replies · Started by Francisco Javier on July 2, 2021
I am trying to create some archive pages with generateblocks and elementos, but they don't work.
I can't send you the link cause I am doing them locally, but I could show you screen captures of it the forum editor allowed me...
Anyway, what I've done is the following:
-I've created a block
-I've added a container
-I've added a featured image block and a title block (both generatepress ones)
-I've selected archive cursos in the position field after the content, just to be shown this loop in these archive page
But it doesn't work.
I'd actually would lie to talk with support people.
Hi there,
have you set the Element Type to Content Template - see here:
https://docs.generatepress.com/article/block-element-content-template/
Yes David.
I am following some tutorials, but nothing...
Can you share a link to your Archive page?
I can't cause I am doing it locally...
By the way, I got it, but they are being displayed in just one column... How can I do it in two or three columns?
Thank you very much and regards.
Enable the Blog Module in Appearance > GeneratePress.
Then enable the Columns option in Customizer > Layout > Blog.
I have it done and it just works for the posts post, but not in the other archive pages...
Are these a custom post type ?
Yes, they are CPTs
Hi Francisco,
Customizer option only works for posts and WP default blog, it doesn't work for custom post types.
You can try this filter:
https://docs.generatepress.com/article/using-columns-in-the-blog/#adding-columns-to-your-custom-post-type
Replace the portfolio in the PHP snippet with your own custom post type name.
Adding PHP: https://docs.generatepress.com/article/adding-php/