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

Replace Protected Content Text with Image

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › Replace Protected Content Text with Image

  • This topic has 1 reply, 2 voices, and was last updated 14 years, 11 months ago by amin007.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • June 15, 2010 at 4:51 am #1374
    thk123
    Member

    Hi,

    I had been directed to post a new thread for the following tweak request:

    Is it possible to embed images, for example buttons, where the protected content text appears? (E.g., “Please Login to view this Content.Not a member? Join Today!)” I suspect the image reference would have to go in the PHP files in the “lang” folder.

    Thank you for any suggestions.

    thk

    June 16, 2010 at 2:02 am #21786
    amin007
    Participant

    Search for the following in the “wp_eMember1.php” file

    $url_text .= '('.EMEMBER_NON_MEMBER.' <a href="'.$join_url.'">'.EMEMBER_JOIN.'</a>)';

    Once you find it replace it with the following:

    $url_text = '<a href="http://you-membership-join-url"><img src="http://www.your-domain.com/your-image-url" /></a>';

    Just specify the URL of the target page and the image that you want to use in the “src” field.

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