- This topic has 2 replies, 3 voices, and was last updated 7 years, 5 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › How make all product related content be hidden??
Tagged: php, woo-commerce
Hello,
I am playing/testing around with your simple membership plugin on my local setup. Now i am curious how i can hide woocommerce plugin content for non members. By this i mean i am using easy-booking and i can still choose a begin and end date, although the product description says “You need to login to view this content. Please Login. Not a Member? Join Us”.
How make all product related content be hidden??
Regards
Hi, can you share a screen capture so that I can understand exactly what you are trying to protect.
Thank you
vincitytaymodaimo? Have considered creating a “php conditional statement” in the template file, most likely within the page.php (or it’s associated content.php file, within a page templates file).
I would attempt to base th condition on something like: user_is_logged_out show nothing statement and then if is user_logged_in poof WooCommerce! OBVIOUSLY not that simple but you get the idea.