WordPress.org

Support

Support » Plugins and Hacks » How do I remove dates from certain posts?

How do I remove dates from certain posts?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Michael

    @alchymyth

    Forum Moderator

    you could wrap the date output code into a conditional statement using in_category('biographies') or so, assuming that the category is specific to these posts;

    example:

    <?php if( !is_category('biographies') ) /*the existing date output code, for instance:*/ the_date(); ?>

    use the existing code as a starting point.

    I’m no good with PHP could you explain this to me in easy steps please.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I remove dates from certain posts?’ is closed to new replies.