-
Author
-
June 27, 2018 at 21:44 #202191hamsarParticipant
Hi again,
I m using a snippet which blogs non members to access certain pages. However its also blocking blog posts. I did allow the blog page however its not accessible to non members. Thanks
Thanks
AB
June 28, 2018 at 02:30 #202225LauraModeratorHello, it depends, if your plugin also blocks them to be indexed you won’t be able to index them.
Have you tried paid membership pro? It let’s you individually block posts for certain user levels but they are indexedHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
June 28, 2018 at 22:35 #202343LauraModeratorHello, replace it with this and let me know if it works
COPY CODE/* Restrict guests only to those pages.*/ function sq7R_kleo_restrictions_guest_restrict() { $allowedpages= array(‘register’,’activate’,’Home’,’reasons-to-join’,’privacy-policy’,’about-us’,’terms-of-service’,’contact’); if( !is_user_logged_in() && !is_page($allowedpages)) { wp_redirect(site_url( ‘/register’) ); } } add_action(‘template_redirect’, ‘sq7R_kleo_restrictions_guest_restrict’);
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
June 29, 2018 at 22:57 #202424LauraModeratorHello, if you block blogs they will be redirected but you don’t want to block blogs so they are able to see it and not be redirected. It’s one thing or the other
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
-
AuthorPosts
You must be logged in to reply to this topic.