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

  • Author
  • #9473
     csme
    Participant

    i cant get the sidebar to appear on the members profile page

    i choose a right sidebar layout for the /members page and select a custom sidebar from sidebar selection dropdown but after saving there is still no sidebar.

    This works for blog, membership etc pages. but not for user profiles like in the demo.

    #9540
     Abe
    Keymaster

    Hello, Buddypress page format takes the setting from Sweetdate – Buddypress. To change Buddypress members page to have a sidebar see this topic:
    https://archived.seventhqueen.com/forums/topic/members-directory-page-with-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.

    #9545
     csme
    Participant

    Hey Abe.

    i dont want to add it to the members directory, just to the actual user profile pages.

    #9609
     Abe
    Keymaster

    Oh I see, add this code to sweetdate-child/functions.php

    COPY CODE
    
    add_action('wp_head', 'custom_profile_sidebar');
    
    function custom_profile_sidebar() {
    
    	if (bp_is_member()) {
    		add_filter('kleo_buddypress_content_class', create_function('', 'return "eight";'));
    		add_action('kleo_buddypress_after_content', 'kleo_buddypress_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.

    #9619
     csme
    Participant

    Thanks so much

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

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?