Hide protected categories for non-members
-
Is it possible to completely hide messages from protected categories for non-members?
At this moment I’m:
– using Ultimate category Excluder to hide them from the frontpage
– using a redirect plugin on a protected page which redirects to the specific category blog page. This way non members won’t be redirected and members will beBut this is quite cumbersome and requires 2 plugins
-
Hi,
Is it possible to completely hide messages from protected categories for non-members?
Can you provide more information and maybe an example so I know exactly what you mean.
Thank you
At this moment if you protect a blog category the basic info of related posts is shown on the blog posts overview page with the message “you need to be logged in to …”
I would like to completely hide all messages in this protected category from the blog overview page for none members. So the basic information and “you need to be logged in to …” messaged don’t show at all.
Hi,
I would like to completely hide all messages in this protected category from the blog overview page for none members. So the basic information and “you need to be logged in to …” messaged don’t show at all.
Let me see if I understand you correctly. You want no messages to be displayed in the protected page or post. If that is correct, check the following documentation. Let me know if this helps you in any way.
Kind regards
That’s not completely correct.
Sample:
I have 3 categories:
-none members 1
-none members 2
-members only (protected)On the website homepage/blog overview page all none members messages are shown as usual.
Members only messages are show as well but with the “You must be logged in to view this content” message.
But I want the protected messages not to show at all. The none members messages may be shown as usual.
Hi,
Members only messages are show as well but with the “You must be logged in to view this content” message.
Are the members logged in when this message shows up or are they not logged in and visiting the protected content?
Check the following documentation. Let me know if this helps you in any way.
Regards
I’ve created a screenshot to make this more clear.
https://i.imgur.com/KVNA2bx.jpg
The screenshot is the blog overview page showing messages that are protected (protected category) and messages that are not protected (unprotected category).
At this moment the protected messages are still shown to users that are not logged in with the message that they need to be logged in to view them.
I want to completely hide them for users that are not logged in.
Hi,
Are you talking about the following message displayed?
You need to login to view this content. Please Login. Not a Member? Join Us
If you are, then try the following CSS code. If you add this code, the above message will not display anymore.
.swpm-post-not-logged-in-msg { display: none; }
Let me know if this is what you are talking about.
Kind regards
No, not just the message but the entire post.
Hi, try the following documentation. Let me know if this helps you.
Kind regards
Unfortunately not, this hides the content on single blog post pages only, not the posts in de frontpage / blog overview page.
I’m starting to think that you don’t really understand what I would like to achieve but I have no idea how to explain it better than I already dit with the screenshot.
– On my site homepage a grid blog post overview is shown of all blog posts in all categories
– In this overview posts in unprotected categories are shown as usual
– Posts in protected categories are shown as title and date with the message that you need to be logged in to view the content
– It’s these posts that I want to hide completely instead of showing the title and date with message- This reply was modified 4 years, 10 months ago by roelofke.
Hi, I think I know what you mean. I have submitted a message to the developers to investigate your request.
Thank you
The wordpress’s category page (where all the posts from a category is displayed) is not something this plugin controls. Any content of protected posts will be hidden but that listing page will stay as is. In your theme, you should be able to apply a customization that doesn’t list anything if it is one of those special categories (your theme files control the blog post entry listings on the category page).
Currently I’m using Ultimate category Excluder for that but it would be great if it could be implemented in this plugin.
- The topic ‘Hide protected categories for non-members’ is closed to new replies.