How to filter a post in a loop?
-
So this’ll be a little complex. We have a Featured section, where we place the most important posts. This section works as follows: We have the single.php, in which every single post shows, now just below the single post, the featured section begins.
It shows all the features posts with the same format as the single post, but whenever the single post is a featured one, it appears twice instead of once, because it’s the single post and aside from that, it’s a featured post.
Is there a way that I can filter that? So if one featured post is the same as the single post it won’t be displayed?
Thanks in advance!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘How to filter a post in a loop?’ is closed to new replies.