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

How can I do this? Show blog entries only to users with correct membership level

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › How can I do this? Show blog entries only to users with correct membership level

  • This topic has 3 replies, 2 voices, and was last updated 13 years, 7 months ago by admin.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • October 5, 2011 at 1:18 pm #4482
    martin
    Member

    Hi there,

    I am setting up membership access to a once a week blog post and audio download. Is it possible to have two levels of access – one for weekly access and the other for fortnightly – with the latter only ever seeing the content posted every second week?

    Basically, I don’t want someone with fortnightly access to see the other material (in the ‘archive’ or ‘recent posts’ sections, for example) and be constantly being told ‘you have to upgrade to view this’ etc., I would just like them to only see every second week’s content.

    Any ideas would be great, thanks

    Martin

    October 6, 2011 at 4:11 am #37332
    admin
    Keymaster

    By default, eMember will do the following:

    All the blog entries are visible to the users but the user who do not have access to a post won’t be able to see the actual content. They will get a message that tells them that this content is not available to them unless the account is upgraded.

    Now, You want to modify this behavior so that the blog entries are not even shown to the users who do not have access to it. When a user logs in he only sees the blog entries that he has access to.

    To achieve this you will need to modify the template file of your theme that shows your blog entries. You need to add condition around WordPress loop that displays the blog entries and make it so only a member with correct level will see the entry. WP eMember has functions/methods that you can use to find out various details of the user who is accessing the content. This will help you in accomplishing this customization. This documentation will explain the functions that I am talking about:

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

    Here is another blog post with a similar solution:

    https://support.tipsandtricks-hq.com/forums/topic/hide-protected-content

    October 6, 2011 at 7:40 am #37333
    martin
    Member

    Hey,

    Thanks for the quick response. That’s a little bit beyond my skills so I’d need to pay to have someone do that for me, would you do this sort of thing and if so how much would you charge once the site is more fully developed?

    Thanks

    Martin

    October 6, 2011 at 10:56 pm #37334
    admin
    Keymaster

    Please use the contact form here to get in touch with us and we will discuss a custom development option (mention this forum post we know what it is for):

    https://support.tipsandtricks-hq.com/contact

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