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

Protection not working for blog page

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › Protection not working for blog page

  • This topic has 5 replies, 3 voices, and was last updated 11 years, 3 months ago by admin.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • August 25, 2011 at 7:41 pm #4152
    clamorate
    Member

    Hi,

    I am using my wordpress theme as a public site as well as a membership site, and one of the membership features is access to the blog. The blog is not located on the home page of the site, and I am using wordpress’s Settings > Reading > Posts to … to point the blog posts to my “Blog” page (not the homepage).

    The eMember plugin does not function if you protect whatever page that you tell wordpress to populate with blog posts. I have setup the protection in eMember, but it doesn’t work. Is there any php code that I could put right into my wordpress theme’s index.php which would force protection?

    Thank you for your assistance!

    August 26, 2011 at 1:47 am #35880
    admin
    Keymaster

    There are available functions that can help you with custom protection. This document will help:

    http://www.tipsandtricks-hq.com/wordpress-membership/wp-emember-miscellaneous-tweaks-248

    August 26, 2011 at 5:10 am #35881
    clamorate
    Member

    Thank you for the response. I have visited that page, but I can’t find a solution. Here’s what I am hoping to accomplish: I have created a page in wordpress called “home” (which is open to the public) and another page called “blog” (which I have enabled eMember protection). In the wordpress admin under Settings > Reading, I have changed the option to:

    Front page displays – A static page

    Front Page: home

    Posts Page: blog

    When I do this, the protection I set on the “blog” page doesn’t work, and it leaves it open to the public. I am certain it is actually using the wordpress index.php file as the template for the blog page, so are there any modifications I can do (using the eMember php codes) to protect my blog page?

    Thank you very much for your help!

    August 26, 2011 at 8:39 am #35882
    admin
    Keymaster

    Okay the first think you need to understand is that eMember protects the content of individual posts, pages and comments. It doesn’t protect the full page where you may have a list of posts unless you are using “Domain level lockdown” option from the settings menu.

    So to add more clarification… eMember won’t protect the whole “Blog” page by default no matter what you do (it lets the visitors see individual posts). It will only protect the content of the individual posts that you specify it to protect.

    Now, if you want to do any kind of custom protection that is not a general practice in eMember you can use functions to wrap your content in to protect it. Few examples are given in this page:

    http://www.tipsandtricks-hq.com/wordpress-membership/wp-emember-miscellaneous-tweaks-248

    Does that make sense?

    March 11, 2014 at 7:08 pm #35883
    fakierock
    Member

    I am also having the same problem. I am setting all of my blog posts to yes, protect this content, but when I come back to edit the post it has changed to no, don’t protect this content. This happens every few days and my blog posts aren’t staying protected?

    March 12, 2014 at 2:12 am #35884
    admin
    Keymaster

    That is a little strange. I am going to recommend you do the following:

    https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins

    Then read the following post to make sure you know how the content protection works in eMember:

    https://support.tipsandtricks-hq.com/forums/topic/wp-emember-content-protection-not-working-common-mistakes

    Let me know if you see this issue again after doing the above.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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