Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

WP eMember and More Tag Protection

by

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 14 years, 1 month ago by amin007.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • August 9, 2010 at 2:14 am #1644
    Ivy
    Member

    The more tag protection is for blog posts. It doesn’t work on pages by default because WordPress does not allow it. You can read all about it here on WordPress’s site:

    http://codex.wordpress.org/Customizing_the_Read_More#How_to_use_Read_More_in_Pages

    Anyway, here is what WordPress says:

    “Please remember that the “Read More” tag is used only on the Home page which shows the latest posts. It does not work in “Pages”.”

    with that said, if you are trying to create teaser content for your premium content then I think your best option would be to use the section protection feature of WP eMember:

    How to Protect a Section of a Post or Page (Partial Protection)

    You only need to protect the content that’s after the more tag. So your page structure will look something similar to the following:


    Start of a page


    Teaser content

    <–more tag–>

    [emember_protected for=2-3]

    Your secret stuff

    [/emember_protected]


    End of a page


    October 26, 2010 at 12:04 am #23151
    jeffw
    Member

    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 #23152
    wpCommerce
    Moderator

    “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 #23153
    jeffw
    Member

    Okay, 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 #23154
    amin007
    Participant

    Section 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 #23155
    rpickett
    Member

    I 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 #23156
    rpickett
    Member

    update.

    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 #23157
    amin007
    Participant

    Go 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 #23158
    woodpecker34
    Member

    Do 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 #23159
    amin007
    Participant

    Yep 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.

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ