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 – Can you add html to various messages in the lang.php file?

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › eMember – Can you add html to various messages in the lang.php file?

Tagged: $login_url

  • This topic has 4 replies, 2 voices, and was last updated 12 years, 8 months ago by stephen299.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 25, 2012 at 1:39 am #7241
    stephen299
    Member

    I found out how to change the text for the various messages that show up in different situations, but I’d like to add HTML (specifically links) to them. Is there anyway to do this?

    I tried to add HTML in the eng.php file, but I kept getting an error so I’m not sure if I have to add it somewhere else or what.

    I know I ask way to many questions here, but I really am enjoying the plugin and I appreciate all the support and time you’ve put into answering my questions. Thanks!

    August 25, 2012 at 11:39 pm #48685
    admin
    Keymaster

    You should be able to add HTML code in the language file however the code you add need to be correct so it doesn’t result in a syntax error. Post the full line of code that you modified/added.

    August 26, 2012 at 12:44 am #48686
    stephen299
    Member

    define(“EMEMBER_PROFILE_MESSAGE”,”Please <X href=”http://www.site.com”>login</X&gt; to edit your profile.”);

    That’s basically what I’ve done, aside from replacing the X’s with a’s, but I get a syntax error. Do I have to do something else to make the HTML work?

    August 26, 2012 at 12:57 am #48687
    admin
    Keymaster

    You are using double quotes (“) inside another double quote which is the issue.

    Try the following… see how there is a back slash character () before the double quotes that are inside? That’s the trick to using quotes inside quotes.

    define("EMEMBER_PROFILE_MESSAGE","Please <X href="http://www.site.com">login</X> to edit your profile.");

    August 26, 2012 at 3:00 am #48688
    stephen299
    Member

    Okay got it working now. Thanks!

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