- This topic has 1 reply, 2 voices, and was last updated 13 years, 10 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › Protecting a page of posts
Hi,
I’m using eMember on a CMS type site. The homepage of the site is a page of static content and I’m using another page in the site (called ‘documents’) to list all the blogs (or documents and info in the case of this CMS project).
I have secured the documents page and secured each blog as well. When I go to the documents page without being logged in I get the ‘Please Login to view this Content.’ message for every post.
Is there a way of just getting the message once for the page rather than for every blog post? Maybe I just need to do an if statement in the template file to say the equivalent of ‘IF logged in do display posts ELSE display login message’.
Many thanks
Each blog post is protected separately. One blog post or page doesn’t know anything about the other so its not possible to have one message.