Skip to:
Content
Pages
Categories
Search
Top
Bottom

Exclude blog side php from bbpress


  • ronthai
    Participant

    @ronthai

    Hi,
    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)

    Thanks, Ron
    WP: 3.7.1
    bbPress: 2.5

    Nevermind, solved it:
    SOLVED:
    Had to put it inbetween:

    <?php if ( is_singular('post') ) : ?>
    
    <?php endif; ?>

You must be logged in to reply to this topic.