Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/28/2013 11:12:36 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Allow the search feature to be toggled on and off. Introduces new setting and supporting function to get and override the option easily in third party plugins. Fixes #2342.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/default/bbpress/content-archive-topic.php

    r4733 r4971  
    1111
    1212<div id="bbpress-forums">
     13
     14    <?php if ( bbp_allow_search() ) : ?>
     15
     16        <div class="bbp-search-form">
     17
     18            <?php bbp_get_template_part( 'form', 'search' ); ?>
     19
     20        </div>
     21
     22    <?php endif; ?>
    1323
    1424    <?php bbp_breadcrumb(); ?>
Note: See TracChangeset for help on using the changeset viewer.