Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/15/2021 09:01:21 AM (4 years ago)
Author:
imath
Message:

BP Nouveau: deactivate single Member & Group front pages by default

Even if Blocks can now be added to widgetized area which should give more attractiveness to these front pages, feedbacks on our support forums shows it can be confusing for users.

Activating these front pages remains totally possible using the BP Nouveau customizer section.

Fixes #8502

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/functions.php

    r13000 r13009  
    639639        'avatar_style'       => 0,
    640640        'global_alignment'   => 'alignwide',
    641         'user_front_page'    => 1,
     641        'user_front_page'    => 0,
    642642        'user_front_bio'     => 0,
    643643        'user_nav_display'   => 0, // O is default (horizontally). 1 is vertically.
     
    661661    if ( bp_is_active( 'groups' ) ) {
    662662        $default_args = array_merge( $default_args, array(
    663             'group_front_page'        => 1,
    664             'group_front_boxes'       => 1,
     663            'group_front_page'        => 0,
     664            'group_front_boxes'       => 0,
    665665            'group_front_description' => 0,
    666666            'group_nav_display'       => 0,       // O is default (horizontally). 1 is vertically.
Note: See TracChangeset for help on using the changeset viewer.