BuddyBoss Home – Web › Support Forums › Solutions › Social Learner › How to Hide Request Membership Menu Item on Course Page?
- This topic has 4 replies, 3 contibutors, and was last updated 8 years, 7 months ago by Anonymous.
Question
March 21, 2016 at 3:20 pm #64381@dbaylessI’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.)
- A click on “Home” returns, “This is a private group. To join you must be a registered site member and request group membership.”
- 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
April 4, 2016 at 3:48 pm #66813@dbaylessHi, any suggestions regarding my post of 3/21/16?
April 5, 2016 at 4:47 am #66882@anveHi @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
AnveApril 5, 2016 at 8:13 am #66922@dbaylessThat did the trick. Thanks! I appreciate your help.
April 5, 2016 at 8:23 am #66927@
AnonymousThats 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
- The question ‘How to Hide Request Membership Menu Item on Course Page?’ is closed to new replies.