Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/10/2018 07:21:00 PM (8 years ago)
Author:
djpaul
Message:

Templates, Nouveau: improve heading levels and classes for member templates.

Props mercime, imath

See #7728

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/profile/edit.php

    r11899 r12078  
    66 */
    77
    8 bp_nouveau_xprofile_hook( 'before', 'edit_content' );
     8bp_nouveau_xprofile_hook( 'before', 'edit_content' ); ?>
    99
    10 if ( bp_has_profile( 'profile_group_id=' . bp_get_current_profile_group_id() ) ) :
     10<h2 class="screen-heading edit-profile-screen"><?php esc_html_e( 'Edit Profile', 'buddypress' ); ?></h2>
     11
     12<?php if ( bp_has_profile( 'profile_group_id=' . bp_get_current_profile_group_id() ) ) :
    1113        while ( bp_profile_groups() ) :
    1214                bp_the_profile_group();
     
    2527                                <?php endif; ?>
    2628
    27                                 <h2 class="screen-heading profile-group-title edit"><?php printf( __( 'Editing \'%s\' Profile Group', 'buddypress' ), bp_get_the_profile_group_name() ); ?></h2>
     29                                <h3 class="screen-heading profile-group-title edit"><?php printf( __( 'Editing \'%s\' Profile Group', 'buddypress' ), bp_get_the_profile_group_name() ); ?></h3>
    2830
    2931                                <?php
Note: See TracChangeset for help on using the changeset viewer.