Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/26/2011 02:56:20 AM (13 years ago)
Author:
boonebgorges
Message:

Use blogs root slug (rather than slug) for the Create a Site button on the Sites Directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5/bp-themes/bp-default/blogs/index.php

    r5196 r5370  
    2121        <form action="" method="post" id="blogs-directory-form" class="dir-form">
    2222
    23             <h3><?php _e( 'Site Directory', 'buddypress' ); ?><?php if ( is_user_logged_in() && bp_blog_signup_enabled() ) : ?> &nbsp;<a class="button" href="<?php echo bp_get_root_domain() . '/' . bp_get_blogs_slug() . '/create/' ?>"><?php _e( 'Create a Site', 'buddypress' ); ?></a><?php endif; ?></h3>
     23            <h3><?php _e( 'Site Directory', 'buddypress' ); ?><?php if ( is_user_logged_in() && bp_blog_signup_enabled() ) : ?> &nbsp;<a class="button" href="<?php echo bp_get_root_domain() . '/' . bp_get_blogs_root_slug() . '/create/' ?>"><?php _e( 'Create a Site', 'buddypress' ); ?></a><?php endif; ?></h3>
    2424
    2525            <?php do_action( 'bp_before_directory_blogs_content' ); ?>
Note: See TracChangeset for help on using the changeset viewer.