Viewing 5 replies - 1 through 5 (of 5 total)
  • Jessica Oros

    (@jessica-o)

    Hey there,

    If you’re a developer, you could accomplish this by hooking into the_title filter, checking if the user has access by using the function pmpro_has_membership_access(), modifying your title as you see fit and returning it.

    If you need further help, please consider becoming a member at https://www.paidmembershipspro.com/pricing/ for our member support forums.

    Hope that helps!

    Thanks,
    Jess

    Thread Starter andres88

    (@andres88)

    Thanks for your answer Jess.
    What the end result be? Will there be one login message per post (as it is right now) or just a general page prompting a user to login?

    If the answer is the former (which is the current setup of membershipPro), it will look odd.

    Thanks
    Andres

    Jessica Oros

    (@jessica-o)

    The end result would be dependent on what you want to do. For example, you could simply replace the titles if a user doesn’t have access or something more complex. What did you have in mind?

    Thread Starter andres88

    (@andres88)

    I m thinking something like: a non-member is redirected to a login page if he tries to access a members only page.
    Can I do that with your plugin?
    thanks
    Andres

    Great H-master

    (@great-h-master)

    Hello, this can be done, but will require a little code. You can use the filter Jessica mentioned and if they are not logged in or not a member you can make it a link to the login page instead of a link to the post. This way if they click on a link to members only content they would be redirected to the login page. Hope this helps.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Post titles are visible’ is closed to new replies.