Archived topic
Duplicate Posts on Home Page - v2
3 replies · Started by Allen on December 13, 2020
I found and read this past support forum post and thought it was going to be exactly what I needed:
https://generatepress.com/forums/topic/duplicate-post-on-home-page/
But the "edited" css discussed in the forum must have been passed in the private admin, because the initial css posted there doesn't work.
I also tried the css using this edit, since it's offset by a category not a tag:
.home .category-featured:not(.wp-show-posts-single {display: none;}
My specific case (which seems the same to the past forum post):
Using WPSP, I have a featured category at the top of a custom home page and several other post categories below that. The "Featured" post has the Featured category selected, plus its actual editorial category also selected.
I would like to hide the post in the lower section whenever that post is the current featured post.
Thank you!
Hi there,
i think that method was for a WPSP post list above the themes archive template.
Tom provides a PHP Snippet here that looks like it may fit your needs:
Yep, that nailed it! Thanks David!
Awesome - glad to hear that!