[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-legacy/buddypress/blogs/ -> create.php (source)

   1  <?php
   2  /**
   3   * BuddyPress - Blogs Create
   4   *
   5   * @package BuddyPress
   6   * @subpackage bp-legacy
   7   * @version 3.0.0
   8   */
   9  
  10  /**
  11   * Fires at the top of the blog creation template file.
  12   *
  13   * @since 1.6.0
  14   */
  15  do_action( 'bp_before_create_blog_content_template' ); ?>
  16  
  17  <div id="buddypress">
  18  
  19      <div id="template-notices" role="alert" aria-atomic="true">
  20          <?php
  21  
  22          /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
  23          do_action( 'template_notices' ); ?>
  24  
  25      </div>
  26  
  27      <?php
  28  
  29      /**
  30       * Fires before the display of the blog creation form.
  31       *
  32       * @since 1.1.0
  33       */
  34      do_action( 'bp_before_create_blog_content' ); ?>
  35  
  36      <?php if ( bp_blog_signup_enabled() ) : ?>
  37  
  38          <?php bp_show_blog_signup_form(); ?>
  39  
  40      <?php else: ?>
  41  
  42          <div id="message" class="info">
  43              <p><?php _e( 'Site registration is currently disabled', 'buddypress' ); ?></p>
  44          </div>
  45  
  46      <?php endif; ?>
  47  
  48      <?php
  49  
  50      /**
  51       * Fires after the display of the blog creation form.
  52       *
  53       * @since 1.1.0
  54       */
  55      do_action( 'bp_after_create_blog_content' ); ?>
  56  
  57  </div>
  58  
  59  <?php
  60  
  61  /**
  62   * Fires at the bottom of the blog creation template file.
  63   *
  64   * @since 1.6.0
  65   */
  66  do_action( 'bp_after_create_blog_content_template' );


Generated: Sun Dec 22 01:00:54 2024 Cross-referenced by PHPXref 0.7.1