This topic has 4 replies, 2 voices, and was last updated 10 years by sermsak.

  • Author
  • #10809
     Abe
    Keymaster

    How to have the activity page a three columns page and leave all other Buddypress pages the same

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #10810
     Abe
    Keymaster

    Put this code in your sweetdate-child/functions.php and let the magic happen 🙂

    COPY CODE
    
    //Activity page 3 columns
    add_action('kleo_before_page','my_three_columns_activity');
    
    function my_three_columns_activity() {
    	if(BP_ACTIVITY_SLUG == bp_current_component()) {
    		add_filter('kleo_buddypress_content_class', create_function('', 'return "six";'));
    		add_filter('kleo_sidebar_class', create_function('', 'return "three";'));
    		add_action('kleo_buddypress_before_content', 'kleo_sidebar');
    		add_action('kleo_buddypress_after_content', 'kleo_extra_sidebar');
    	}
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #12745
     sermsak
    Participant

    How to have the group page a three columns page ?

    #12890
     Abe
    Keymaster

    instead of BP_ACTIVITY_SLUG put BP_GROUPS_SLUG

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #12947
     sermsak
    Participant

    It work , Thank you so much

Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?