Changeset 3918
- Timestamp:
- 09/01/2016 08:11:04 PM (9 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums
- Files:
-
- 3 edited
-
functions.php (modified) (1 diff)
-
page-homepage.php (modified) (1 diff)
-
sidebar.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums/functions.php
r3883 r3918 176 176 177 177 /** bb Base *******************************************************************/ 178 179 function bb_base_search_form() { 180 ?> 181 182 <form role="search" method="get" id="searchform" action="https://wordpress.org/search/do-search.php"> 183 <div> 184 <h3><?php _e( 'Forum Search', 'wporg-forums' ); ?></h3> 185 <label class="screen-reader-text hidden" for="search"><?php _e( 'Search for:', 'wporg-forums' ); ?></label> 186 <input name="search" class="text" id="forumsearchbox" value type="text" /> 187 <input name="go" class="button" type="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'wporg-forums' ); ?>" /> 188 <input value="1" name="forums" type="hidden"> 189 </div> 190 </form> 191 192 <?php 193 } 178 194 179 195 function bb_base_topic_search_form() { -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums/page-homepage.php
r3883 r3918 32 32 <h3><?php _e( 'Search the Support Forums', 'wporg-forums' ); ?></h3> 33 33 <p><?php _e( 'Enter a few words that describe the problem you’re having.', 'wporg-forums' ); ?></p> 34 <?php bb p_get_template_part( 'form', 'search'); ?>34 <?php bb_base_search_form(); ?> 35 35 <h3><?php _e( 'Hot Topics', 'wporg-forums' ); ?></h3> 36 36 <p class="frontpageheatmap"> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums/sidebar.php
r3901 r3918 3 3 <?php if ( function_exists( 'is_bbpress' ) && ( is_bbpress() ) || is_page( 'new-topic' ) ) : ?> 4 4 5 <?php if ( bbp_is_single_forum() || bb_base_topic_search_query( false )) : ?>5 <?php if ( bbp_is_single_forum() ) : ?> 6 6 7 7 <div> … … 13 13 14 14 <div> 15 <?php bb_base_ topic_search_form(); ?>15 <?php bb_base_search_form(); ?> 16 16 </div> 17 17 … … 48 48 49 49 <div> 50 <?php bb_base_ reply_search_form(); ?>50 <?php bb_base_search_form(); ?> 51 51 </div> 52 52
Note: See TracChangeset
for help on using the changeset viewer.