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-forum.php

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