Exclude blog side php from bbpress
In posts, my theme only has page-navigation at the bottom.
I added it also at the top of posts, no problem
The issue is that now there is also a (sort of) page-navigation at the top of every page in the bbpress plugin part, which I don’t want of course.
How do I exclude the added code from showing on the bbpress pages (the whole plugin pages for that matter)
Nevermind, solved it:
Had to put it inbetween:
<?php if ( is_singular('post') ) : ?> <?php endif; ?>
You must be logged in to reply to this topic.