Support » How-To and Troubleshooting » Can't hide content from home
5 years, 8 months 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 😀