Archived topic
Creating page with elements
3 replies · Started by Matteo on August 4, 2021
Hi all,
we are trying to create our blog with GP Premium Theme. I think I understand how elements works but I can't do what I want to achieve.
I would like to have a structure like
1 Last Post (big)
2 Featured Post (stacked horizontally)
3 List of all posts (would be awesome to have like a category switcher on top of that).
I create those 3 elements but I can't understand how position works. It seems that, using Volume theme of GP, The first post (that should be the last one) is togheter with the list at the end. I can't break up the page in 3 section using 3 different elements. If a try to put an element in a new page , I don't see any content (like the elements can't retrieve the content to show up)
Can you help me ?
Thank you so much
Hi there,
the Block Element - Content Template 'simply' allows you to replace the themes content template.
What it does not do is create the 'lists' of posts or handle the columns they are displayed in.
Splitting the archive into sections, would either require custom development, or use the WP Show Posts plugin on a static page ( Thats how the Dispatch and Read sites in our library work ).
The most you can do with the Block Element - Content Template is to mix and match templates in your post loop - this video shows that in action:
Thank you David. I tried to use both WP_SHOW_POST and some other for Featured post, but I can't see any post in this way.
I tried to put the shortcode give by the plugin into an hook element, but I can't see any articles. I can't understand why.
If you're going the WP Show Posts method, then don't use any Elements, just create a static page, and add the shortcodes to the page.