Archived topic
Specific the sticky top post in frontpage
4 replies · Started by Benjamin on January 17, 2021
How could I set a specific post or categories' latest post as the sticky top post in front page?
I seems I can only set the latest post as the sticky post.
I provide my site to you
Hi there,
which part do you want to display the 'sticky' post ? Is it in the hero grid or the main post grid?
how we call this? I really don't know
Hi Benjamin,
You can use WP Show Post plugin to generate a new posts list, enter the post id of the specific posts you want to get them featured.
https://www.screencast.com/t/bocZBrCj
https://en-ca.wordpress.org/plugins/wp-show-posts/
Then add the WP show post list short code to a Hook element, choose generate_after_header hook, set Front page as location in display rules. Remember to check the Execute Shortcodes box.
https://docs.generatepress.com/article/hooks-element-overview/
https://www.screencast.com/t/uZSCF4Pq
Then you'll need to use some CSS to style it, we can help with that after you finish the previous steps :)