Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember F.A.Q/Instructions › WP eMember and More Tag Protection
Tagged: More tag protection, teaser
- This topic has 9 replies, 6 voices, and was last updated 13 years, 7 months ago by amin007.
-
AuthorPosts
-
August 9, 2010 at 2:14 am #1644October 26, 2010 at 12:04 am #23151jeffwMember
Hi,
I am trying to use the more tag protection on posts, and it still isnt working.
Its protecting the entire post. I want to have the teaser content mainly for search engines.
I have the post assigned to a category, either “standard” or “premium”, which is for either membership level. However, i want teaser content for both types to be visible to guests.
October 26, 2010 at 12:57 am #23152wpCommerceModerator“I have the post assigned to a category, either standard or premium” – Did you protect the category the post belongs to? If you protect the category which includes a post, the section protection of that post will not work ( as the category overrides all the small section protections in the post with the full protection)
October 26, 2010 at 1:17 am #23153jeffwMemberOkay, so I then have to basically define in every post what I want and dont want protected through those shortcodes?
October 26, 2010 at 8:14 am #23154amin007ParticipantSection protection and More tag protection are completely different.
When you use more tag protection you can still protect a bunch of post by their category to avoid protecting every post individually and the teaser section will show up on the blog page.
So yes you can add a more tag in all of your blog posts and bulk protect them using a category protection. When you visit your blog page you will see the teaser.
Where most people make the mistake is that they go to the individual post and they complain because the teaser is not there. Well the first thing to understand is how WordPress work… more tag is only visible on your blog page where you have all the recent posts displayed. More tag is not available when you go to the individual post view (where you can read the full article). If more tag is not available on individual post view then how will eMember use more tag protection?
So are you viewing your blog page for the teaser or the individual post?
March 13, 2011 at 8:46 am #23155rpickettMemberI completely get the difference between the teaser and the protected block. Took me a minute, but it’s pretty clear.
What I want: teaser content is viewable by all, whether on blog page or on the actual post itself. Only the non-teaser (the rest of the content) should be viewable on the actual post itself by the membership level granted access to that post/category/whatever.
I *think* to accomplish this I have to have the post like this:
Teaser
<!–more–>
[emember_protected for=2]
This is protected.
[/emember_protected]
where “free member” is ID 2. (it would be nice to say “everything greater than 2”, or to just let this be managed by the category and just have [emember_protected])
I have 4 levels of membership, including a free.
Under general protection I have *none* of the items selected under each of the categories.
I go to “free membership” general levels and also *nothing* is selected. (doesn’t matter, I can actually grant the access to the post here and it still doesn’t work).
So, I have a post with the code above, explicitly allowing “free” accounts to access the content, yet, they can’t. I login with my free account and it still shows “This content is for members only”.
What am I doing wrong, and what is the easiest way? I’d love it if I could just assign the protection by category, but it doesn’t appear that works w/ the teaser/more tag the way I’m looking to do it.
Thanks for your help and suggestions!
March 13, 2011 at 9:24 am #23156rpickettMemberupdate.
I put in debugging code and even though the account was logged in to wp they weren’t logged in to eMember. Logged out and tried to login to eMember – bad password, reset it, logged back in w/ new password using the wp login (theme comes with fancy lightbox), now it’s also logged into eMember and content displays as expected.
Still left with the same end-question:
Is there a way to protect by category and still allow the teaser/more functionality I’m looking for above?
Thanks!
March 14, 2011 at 1:26 am #23157amin007ParticipantGo with section protection of eMember to create teaser content (this is explained in the first post). Yes category protection will still work with More tag protection but on the post itself it will be fully protected (the teaser can only be viewed in the blog page). Since WordPress do not support more tag for pages we have made the section protection of eMember more robust so it can used nicely to create teaser sections.
March 30, 2011 at 10:18 am #23158woodpecker34MemberDo I understand it correctly that I should put my premium content in a category different than the free content and then allow access to the premium content by membership level?
I want to ‘drip’ content out on a monthly basis so would I:
1. Create a free category for first time, tire kicker visitors.
2. Create a level 1 category for the first month of membership
3. Create a level 2 category for the second month of membership and on and on?
Then, via the automatic upgrade assign the level to the new category each month?
March 30, 2011 at 11:35 pm #23159amin007ParticipantYep you are correct. Categorizing your content per level is a really good idea. This way you can protect the content that belongs to a category for a particular membership level in one go.
-
AuthorPosts
- You must be logged in to reply to this topic.