• Hi All,

    I’ve got a single post that I want to remove from a specific category on category.php.

    Current code is:

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    <li><a>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></li>
    		<!--/post -->
    
    	<?php endwhile; endif; ?>

    [Please post code or markup snippets between backticks or use the code button.]

    I’ve searched the net for a few days, but could not find the right answer for this. Anyone who can help me out?

    Thanks alot in advance!

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Exclude 1 post by ID or NAME from Category.php’ is closed to new replies.