/bp-templates/bp-legacy/buddypress/blogs/create.php

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