BuddyBoss Home – Web Support Forums Solutions Social Learner How to Hide Request Membership Menu Item on Course Page?

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

    #64381
    @dbayless

    I’m using WooCommerce Memberships to restrict access to site content (e.g. Sensei lesson pages). However, the Sensei Course pages (e.g. https://humanscalebusiness.org/course/reaching-break-even-cash-flow/) are viewable by the public. Each course is associated with a “private” BuddyPress discussion group.

    When viewed by a non-member visitor (i.e. somebody who isn’t logged into the site), the course page has “Home” and “Request Membership” menu options. (See first attached screenshot.)

    1. A click on “Home” returns, “This is a private group. To join you must be a registered site member and request group membership.”
    2. A click on “Request Membership,” however, returns a 404 error. (See second attached screenshot.)

    What I would prefer is to direct such traffic to something like my Content Restricted page (see attached), which encourages a visit to our Memberships page (https://humanscalebusiness.org/memberships/) or, better yet, hide the Request Membership menu option?

    Answers

    #66813
    @dbayless

    Hi, any suggestions regarding my post of 3/21/16?

    #66882
    @anve

    Hi @dbayless,

    Try adding following css in child theme custom css option to hide Request Membership menu for non-members .

    
    body:not(.logged-in) .course #request-membership-groups-li {
      display: none;
    }
    

    Regards
    Anve

    #66922
    @dbayless

    That did the trick. Thanks! I appreciate your help.

    #66927

    Anonymous
    @

    Thats Great…I will close the topic now..If you have other concerns, create a new topic…. we will be more than happy to assist you.

    Regards

Viewing 5 posts - 1 through 5 (of 5 total)
  • The question ‘How to Hide Request Membership Menu Item on Course Page?’ is closed to new replies.