| @@ -1,53 +1,53 @@ | ||
| 1 | -<?php | |
| 2 | - | |
| 3 | -/** | |
| 4 | - * Search Loop | |
| 5 | - * | |
| 6 | - * @package bbPress | |
| 7 | - * @subpackage Theme | |
| 8 | -*/ | |
| 9 | - | |
| 10 | -// Exit if accessed directly | |
| 11 | -defined( 'ABSPATH' ) || exit; | |
| 12 | - | |
| 13 | -do_action( 'bbp_template_before_search_results_loop' ); ?> | |
| 14 | - | |
| 15 | -<ul id="bbp-search-results" class="forums bbp-search-results"> | |
| 16 | - | |
| 17 | - <li class="bbp-header"> | |
| 18 | - | |
| 19 | - <div class="bbp-search-author"><?php esc_html_e( 'Author', 'forumax' ); ?></div><!-- .bbp-reply-author --> | |
| 20 | - | |
| 21 | - <div class="bbp-search-content"> | |
| 22 | - | |
| 23 | - <?php esc_html_e( 'Search Results', 'forumax' ); ?> | |
| 24 | - | |
| 25 | - </div><!-- .bbp-search-content --> | |
| 26 | - | |
| 27 | - </li><!-- .bbp-header --> | |
| 28 | - | |
| 29 | - <li class="bbp-body"> | |
| 30 | - | |
| 31 | - <?php while ( bbp_search_results() ) : bbp_the_search_result(); ?> | |
| 32 | - | |
| 33 | - <?php bbp_get_template_part( 'loop', 'search-' . get_post_type() ); ?> | |
| 34 | - | |
| 35 | - <?php endwhile; ?> | |
| 36 | - | |
| 37 | - </li><!-- .bbp-body --> | |
| 38 | - | |
| 39 | - <li class="bbp-footer"> | |
| 40 | - | |
| 41 | - <div class="bbp-search-author"><?php esc_html_e( 'Author', 'forumax' ); ?></div> | |
| 42 | - | |
| 43 | - <div class="bbp-search-content"> | |
| 44 | - | |
| 45 | - <?php esc_html_e( 'Search Results', 'forumax' ); ?> | |
| 46 | - | |
| 47 | - </div><!-- .bbp-search-content --> | |
| 48 | - | |
| 49 | - </li><!-- .bbp-footer --> | |
| 50 | - | |
| 51 | -</ul><!-- #bbp-search-results --> | |
| 52 | - | |
| 1 | +<?php | |
| 2 | + | |
| 3 | +/** | |
| 4 | + * Search Loop | |
| 5 | + * | |
| 6 | + * @package bbPress | |
| 7 | + * @subpackage Theme | |
| 8 | +*/ | |
| 9 | + | |
| 10 | +// Exit if accessed directly | |
| 11 | +defined( 'ABSPATH' ) || exit; | |
| 12 | + | |
| 13 | +do_action( 'bbp_template_before_search_results_loop' ); ?> | |
| 14 | + | |
| 15 | +<ul id="bbp-search-results" class="forums bbp-search-results"> | |
| 16 | + | |
| 17 | + <li class="bbp-header"> | |
| 18 | + | |
| 19 | + <div class="bbp-search-author"><?php esc_html_e( 'Author', 'forumax' ); ?></div><!-- .bbp-reply-author --> | |
| 20 | + | |
| 21 | + <div class="bbp-search-content"> | |
| 22 | + | |
| 23 | + <?php esc_html_e( 'Search Results', 'forumax' ); ?> | |
| 24 | + | |
| 25 | + </div><!-- .bbp-search-content --> | |
| 26 | + | |
| 27 | + </li><!-- .bbp-header --> | |
| 28 | + | |
| 29 | + <li class="bbp-body"> | |
| 30 | + | |
| 31 | + <?php while ( bbp_search_results() ) : bbp_the_search_result(); ?> | |
| 32 | + | |
| 33 | + <?php bbp_get_template_part( 'loop', 'search-' . get_post_type() ); ?> | |
| 34 | + | |
| 35 | + <?php endwhile; ?> | |
| 36 | + | |
| 37 | + </li><!-- .bbp-body --> | |
| 38 | + | |
| 39 | + <li class="bbp-footer"> | |
| 40 | + | |
| 41 | + <div class="bbp-search-author"><?php esc_html_e( 'Author', 'forumax' ); ?></div> | |
| 42 | + | |
| 43 | + <div class="bbp-search-content"> | |
| 44 | + | |
| 45 | + <?php esc_html_e( 'Search Results', 'forumax' ); ?> | |
| 46 | + | |
| 47 | + </div><!-- .bbp-search-content --> | |
| 48 | + | |
| 49 | + </li><!-- .bbp-footer --> | |
| 50 | + | |
| 51 | +</ul><!-- #bbp-search-results --> | |
| 52 | + | |
| 53 | 53 | <?php do_action( 'bbp_template_after_search_results_loop' ); |