Support » Themes and Templates » Mimbo Theme: Exclude category from Latest Posts

  • Hey guys,

    I have 2 categories that i don’t want to appear on the front page of my Mimbo Theme.

    I guess i need to change some code here:

    <div id="more-posts">
    		<h3><?php _e('Últimas notícias','Mimbo'); ?></h3>
    		elseif( $postcount > 0 && $postcount <= 4 ) { 
    		<div class="clearfloat recent-excerpts">
    			<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
    <?php echo get_post_image (get_the_id(), '', '', '' .get_bloginfo('template_url') .'/scripts/timthumb.php?zc=1&w=105&h=85&src='); ?></a>
    <h4><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h4>
    <p class="date"><?php the_time('d/n/y'); ?> • </p>
    			<?php the_excerpt(); ?>

    How to do that?
    Excluding those categories from the latest posts is enough or i need to exclude them from older posts too?


  • The topic ‘Mimbo Theme: Exclude category from Latest Posts’ is closed to new replies.