Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/15/2012 07:36:09 PM (13 years ago)
Author:
boonebgorges
Message:

Adds bp-title-button class to buttons filtered into the_title, to make them styleable

Fixes #4602

Props enej

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-screens.php

    r6385 r6411  
    952952        // Title based on ability to create groups
    953953        if ( is_user_logged_in() && bp_user_can_create_groups() ) {
    954             $title = __( 'Groups', 'buddypress' ) . '&nbsp;<a class="button" href="' . trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/create' ) . '">' . __( 'Create a Group', 'buddypress' ) . '</a>';
     954            $title = __( 'Groups', 'buddypress' ) . '&nbsp;<a class="button bp-title-button" href="' . trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/create' ) . '">' . __( 'Create a Group', 'buddypress' ) . '</a>';
    955955        } else {
    956956            $title = __( 'Groups', 'buddypress' );
Note: See TracChangeset for help on using the changeset viewer.