Thank you
Kim
After an extensive search, I had given up hope to protect the combination of post categories and pages that I wanted to, so I decided to try this one to protect only a few critical pages and what a surprise!
There IS a VERY elegant BULK PROTECTION function that is *not* mentioned. They should shout this out from the mountain tops!
I’ve tried many of the paid membership plugins. Most are complicated. Many free plugins are good, but most are all-or-nothing, or requires you do go page by page, post by post or use “more.”
Kudos to the group that made this. They have thought of everything, and yet it’s so easy and simple to implement.
Many thanks!
]]>I want to hide part of the post of a specific category but only for users who are not logged in. I’ve tried everything on this forum and on others and I had no choice but to register here and post this. I’ got something so I’m half way of what I want but I don’t know how to do it.
This what I want:
If the unregistered user accesses a post from the Original category, then show a warning message telling him he must register to see that part.
The same part of the post of the rest categories should be shown to unregistered users.
Something like this
if (unregistered and category is Original) then show warning message
else show the post
The problem is I don’t know how to use 2 conditionals.
This is what I have so far.
<?php if (is_user_logged_in() && in_category(‘original’)) : ?>
//part to hide//
<?php else :?>
//warning message and registration link//
<?php endif;?>
The problem with this is that it does the exact opposite. It shows the message on all posts from all categories when logged out when it should only show it for posts that are in the Original category.
When I’m logged in it shows the message to all posts except to the ones in the Original category when in reality it should not show the message at all.
Can anybody tweak this code and make it right. Thank you so much. Any tip is highly appreciated
]]>is there a way to protect against this?
]]>I’m using WP 2.6.
Is there a plug-in to protect posts in order to force users to agree a disclaimer to see them? I’ve tried to find them without any response.
Thanks
]]>