Archived topic
gpp 2.0 beta - content template on a static page
3 replies · Started by Carlo on April 10, 2021
Hi there,
maybe a dumb question but I'd like to be sure, since gpp 2.0 documentation is still a little concise :)
I have followed Leo's video https://docs.generatepress.com/article/block-element-content-template/
When in location rules I set "blog" as Leo does, in the blog page everything works fine.
But if I set a different location, i.e. a static page, posts are not showing up.
Am I doing something wrong or is it not possible to show a list of posts on a static page apart from the blog one?
Thank you. Best wishes. Carlo
Hi Carlo,
is it not possible to show a list of posts on a static page apart from the blog one?
That's correct. The content template can only replace the post loop content.
This posts offer some more info:
https://generatepress.com/forums/topic/gp-premium-beta-elements-block-recent-posts-on-sidebar/
Let me know if this helps :)
Thank you Leo
No problem :)