Display Only TAGGED Post on Category page
I want to display just one post in the Category Page, and that post will be chosen if it has a specific TAG and belongs to that category.
So lets say I create a post and add a TAG called “Main Cat Post”.
I might actually have 5 posts with a TAG called Main Cat Post, however
they will all be in different categories.
I think im supposed to be looking in the archive.php file…(I dont have a category.php) I see the loop but thats it.
<?php while ( have_posts() ) : the_post() ?>
- The topic ‘Display Only TAGGED Post on Category page’ is closed to new replies.