• Resolved sclausen

    (@sclausen)


    Right now this code gets the most recent post from the loop,
    and display the title and thumbnail..

    Is it possible to exclude a category, from this function?

    Heres my code:

    <a href="<?php the_permalink(); ?>">
    	<?php get_the_post_thumbnail($post->ID); ?>
    	<div id="newestpost" class="bg50 absolute">
    	<h1 href="<?php the_permalink(); ?>"><?php the_title(); ?></h1>
    	</div>
    </a>

Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Help with excluding category’ is closed to new replies.