Support » Fixing WordPress » Can't hide content from home
6 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?
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() ) // ?>
Great! I think i owe you a secon beer already 😀