Can't hide content from home (3 posts)

  1. Carlo
    Posted 4 years ago #

    I can't these line of code (http://pastebin.com/Crpx8mfT) from the blog pagination pages which appears when i click on "previous post" at the end of the homepage.

    I've tried conditional tags and body class without success.

    Can anyone plaese ecplain me why?

    Many thanks

  2. Michael
    Part-Time Forum Moderator
    Posted 4 years ago #

    the conditional tag to use would be is_paged()

    before your lines:

    <?php if( !is_paged() ) : ?>

    after your lines:

    <?php endif; // closes conditional if( !is_paged() ) // ?>

  3. Carlo
    Posted 4 years ago #

    Great! I think i owe you a secon beer already :D

Topic Closed

This topic has been closed to new replies.

About this Topic