Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search box on topics page


  • ttmt
    Participant

    @ttmt

    Hi all

    I’m using the default bbPress theme.

    I have a forums page thats shows the forums and a search box at the top.

    I have a topics page for topics in the forums with no search box at the top.

    How do I have a search box at the top of the topics page.

Viewing 3 replies - 1 through 3 (of 3 total)

  • Robkk
    Moderator

    @robkk

    the topics page is just a page with topics of a particular forum , or all forums??


    ttmt
    Participant

    @ttmt

    The page with all the topics in a forum.


    Robkk
    Moderator

    @robkk

    copy content-single-forum.php into your child theme then add

    <?php if ( bbp_allow_search() ) : ?>
    
    		<div class="bbp-search-form">
    
    			<?php bbp_get_template_part( 'form', 'search' ); ?>
    
    		</div>
    
    	<?php endif; ?>

    above

    <?php bbp_breadcrumb(); ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar