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

Where are shortcodes defined

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Where are shortcodes defined

Tagged: eStore short code

  • This topic has 6 replies, 3 voices, and was last updated 12 years, 10 months ago by wzp.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • July 17, 2012 at 3:11 pm #6905
    Art Munson
    Spectator

    I’m trying to locate where the short codes are defined in eStore. I’m working with the developer of Sugar Modal Windows and currently the eStore short code is not working on a post that includes the Sugar Modal Windows short code. Other short codes do work. Can you help?

    Thank you!

    July 17, 2012 at 3:34 pm #47399
    wzp
    Moderator

    What is the conflicting eStore shortcode? I noticed that the Sugar Modal Windows plugin uses jQuery. That may be the conflict.

    July 17, 2012 at 4:14 pm #47400
    Art Munson
    Spectator

    In this particular case it’s [wp_eStore:product_id:52:end]. From what I’ve read (and I know little about programming) it just might be a jQuery conflict.

    July 18, 2012 at 12:52 am #47401
    admin
    Keymaster

    Shortcodes are defined using the WordPress’s shortcode API. If this plugin you are referring to is just placing the mentioned shortcode in a modal window where WordPress is not running the “the_content” filter then shortcodes won’t get rendered. Try using the PHP functions directly which will be easier to use from another plugin. PHP function references can be found here:

    http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460

    July 18, 2012 at 1:32 am #47402
    Art Munson
    Spectator

    Thanks, will pass this along to the Sugar Modal Windows developer.

    July 18, 2012 at 5:46 am #47403
    Art Munson
    Spectator

    Is there any way you can tell me the file name and line number for the short code definition?

    Thanks

    July 18, 2012 at 1:09 pm #47404
    wzp
    Moderator

    Look in the wp_eStore1.php file for a line that contains:

    function print_wp_digi_cart_button($content)

    Technically, this particular eStore shortcode is really a “content filter.” As such, I’m in agreement with @Admin that perhaps the developer is not properly rendering “the_content” within his own plugin.

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