[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

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

   1  <?php
   2  
   3  /**
   4   * Search Loop - Single Forum
   5   *
   6   * @package bbPress
   7   * @subpackage Theme
   8   */
   9  
  10  // Exit if accessed directly
  11  defined( 'ABSPATH' ) || exit;
  12  
  13  ?>
  14  
  15  <div class="bbp-forum-header">
  16      <div class="bbp-meta">
  17          <span class="bbp-forum-post-date"><?php printf( esc_html__( 'Last updated %s', 'bbpress' ), bbp_get_forum_last_active_time() ); ?></span>
  18          <a href="<?php bbp_forum_permalink(); ?>" class="bbp-forum-permalink">#<?php bbp_forum_id(); ?></a>
  19      </div><!-- .bbp-meta -->
  20  
  21      <div class="bbp-forum-title">
  22  
  23          <?php do_action( 'bbp_theme_before_forum_title' ); ?>
  24  
  25          <h3><?php esc_html_e( 'Forum:', 'bbpress' ); ?>
  26          <a href="<?php bbp_forum_permalink(); ?>"><?php bbp_forum_title(); ?></a></h3>
  27  
  28          <?php do_action( 'bbp_theme_after_forum_title' ); ?>
  29  
  30      </div><!-- .bbp-forum-title -->
  31  </div><!-- .bbp-forum-header -->
  32  
  33  <div id="post-<?php bbp_forum_id(); ?>" <?php bbp_forum_class(); ?>>
  34      <div class="bbp-forum-content">
  35  
  36          <?php do_action( 'bbp_theme_before_forum_content' ); ?>
  37  
  38          <?php bbp_forum_content(); ?>
  39  
  40          <?php do_action( 'bbp_theme_after_forum_content' ); ?>
  41  
  42      </div><!-- .bbp-forum-content -->
  43  </div><!-- #post-<?php bbp_forum_id(); ?> -->


Generated: Sun Sep 15 01:01:26 2019 Cross-referenced by PHPXref 0.7.1