Custom message to appear in place of protected content?
Posted: November 1st, 2010, 2:46 pm
Hey guys, great plugin! I've been playing around with the simple conditionals trying to hide/protect sections of my posts and pages.
Is there a way I can force a message to appear in place of the hidden/protected section, advising visitors to pay in order to access/read it?
My website structure is uber simple: I have a single membership level for paid members, roughly 10% of total content. Visitors can access the other 90% of free content (obviously paying members can as well).
Looking in the example below, a visitor would never know there was content hidden from him (Sentence 1).
Is there a way for a custom message to appear in place of Sentence 1, or in any place I hide content?
Is there a way I can force a message to appear in place of the hidden/protected section, advising visitors to pay in order to access/read it?
My website structure is uber simple: I have a single membership level for paid members, roughly 10% of total content. Visitors can access the other 90% of free content (obviously paying members can as well).
Looking in the example below, a visitor would never know there was content hidden from him (Sentence 1).
[s2If current_user_can(access_s2member_level1)] Some content for Members who are logged in with an s2Member Level >= 1. [/s2If]
Some public content available to visitors, blah blah blah.
Is there a way for a custom message to appear in place of Sentence 1, or in any place I hide content?