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

Customize shortcode (not in the language file)

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › Customize shortcode (not in the language file)

Tagged: customize shortcode

  • This topic has 1 reply, 2 voices, and was last updated 5 years, 2 months ago by wzp.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • March 9, 2020 at 3:36 pm #14857
    amylynn83
    Member

    I am finding the process of customizing shortcodes as laid out here (https://support.tipsandtricks-hq.com/forums/topic/how-to-customize-various-textmessages-displayed-by-the-plugin) very frustrating, and I can’t believe it’s so difficult to do.

    Where can I access which parts of the language file the shortcode is calling? I want to modify the shortcode itself.

    I’m looking at this text:

    Please Login to view this content. (Not a member? Join Today!)

    I don’t want to use this on my site. I don’t want to say “Please” with a capitalized “Login” next to it. I don’t want the member text, but if I remove it, then I’m left with ().

    I am willing to customize the text in the language file but there are some parts like Please and () that I don’t want it to pull for this shortcode. Where can I find the actual call from the shortcode to the language text that I can modify?

    March 9, 2020 at 9:59 pm #80382
    wzp
    Moderator

    In the language file, there is a “string name” for each text string. For instance; EMEMBER_PLEASE represents the text string “Please” as in:

    define("EMEMBER_PLEASE", "Please");

    Now, using a file text search utility, like “grepwin,” search the main plugin directory for all occurrences of EMEMBER_PLEASE and edit the file(s) as appropriate.

  • 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