WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Exclude php code from bbpress (2 posts)

  1. ronthai
    Member
    Posted 1 year ago #

    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

  2. ronthai
    Member
    Posted 1 year ago #

    SOLVED:
    Had to put it inbetween:

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.