Home › Forums › Back End › WordPress – Remove Category from Post List › Re: WordPress – Remove Category from Post List
December 8, 2011 at 11:58 am
#92204
Participant
@TheDoc, normally that would be the simple answer. But the Single Post page isn’t a loop. And the “Older Post” and “Newer Post” are just straight Links. Here’s the code to the page.
/**
* The Template for displaying all single posts.
*
* @package WordPress
* @subpackage Twenty_Eleven
* @since Twenty Eleven 1.0
*/
get_header(); ?>
The “get_template_part” line doesn’t matter, it just fetches the Single Post html. What matters is that navigation that goes to the previous and next post. It takes all posts into account and I want it to ignore posts from a specific category