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

eMember – add a link to the blocked content message

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › eMember – add a link to the blocked content message

Tagged: customization, protected content, Tweaks

  • This topic has 2 replies, 2 voices, and was last updated 10 years, 8 months ago by hin1219.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 29, 2014 at 6:00 pm #11391
    hin1219
    Member

    Hi, I was using this link here to change the text that gets displayed when content is blocked: https://support.tipsandtricks-hq.com/forums/topic/how-to-customize-various-textmessages-displayed-by-the-plugin

    I would however like to add a link within the message. For example, right now the code is:

    define(“EMEMBER_CONTENT_RESTRICTED”,”You do not have permission to view this content. Please login or register”);

    How can I make the login text link to domain.com/login and the register text link to domain.com/register?

    Thanks!

    August 30, 2014 at 12:53 am #65211
    admin
    Keymaster

    Here is an example of how you can add link to the blocked/protected content message:

    define("EMEMBER_CONTENT_RESTRICTED","You do not have permission to view this content. Please <a href='example.com/login-page'>login</a> or register");

    Replace “example.com/login-page” with your actual login page URL. You can use this same technique to add more links.

    August 30, 2014 at 4:59 pm #65212
    hin1219
    Member

    thanks!

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