[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/templates/default/bbpress/ -> loop-search.php (source)

   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',  'bbpress' ); ?></div><!-- .bbp-reply-author -->
  20  
  21          <div class="bbp-search-content">
  22  
  23              <?php esc_html_e( 'Search Results', 'bbpress' ); ?>
  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',  'bbpress' ); ?></div>
  42  
  43          <div class="bbp-search-content">
  44  
  45              <?php esc_html_e( 'Search Results', 'bbpress' ); ?>
  46  
  47          </div><!-- .bbp-search-content -->
  48  
  49      </li><!-- .bbp-footer -->
  50  
  51  </ul><!-- #bbp-search-results -->
  52  
  53  <?php do_action( 'bbp_template_after_search_results_loop' );


Generated: Tue Feb 27 01:00:56 2024 Cross-referenced by PHPXref 0.7.1