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

eStore – Shortcode Inside Another Shortcode (Shortcode Nesting) Not Working

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore F.A.Q/Instructions › eStore – Shortcode Inside Another Shortcode (Shortcode Nesting) Not Working

Tagged: eStore shortcode nesting, nested shortcodes, shortcode, shortcode layout issue

  • This topic has 12 replies, 7 voices, and was last updated 11 years, 1 month ago by wzp.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • October 22, 2011 at 2:23 am #4591
    admin
    Keymaster

    If you are using a shortcode inside another shortcode and the innermost shortcode is not working/filtering then do the following tweak to alter the eStore’s shortcode filtering priority and see if it helps (changing the filtering priority helps one shortcode to be processed before the other one):

    1. Open the “wp_eStore1.php” file and search for the following line of code:

    add_filter('the_content', 'do_shortcode',11);

    2. Once you find it replace it with the following:

    add_filter('the_content', 'do_shortcode');

    Now try it out and see if the nested shortcodes are all working.

    April 17, 2012 at 2:10 pm #37808
    Yusuf akdag
    Member

    I’m trying to solve that issue but nothing changed.

    Is that requires to restart webserver in case of wp_estore1.php cached?

    April 17, 2012 at 11:13 pm #37809
    admin
    Keymaster

    Nope, no restart required. Share the two shortcodes that you are using in a nested setup.

    April 17, 2012 at 11:27 pm #37810
    Yusuf akdag
    Member

    Hi,

    the shortcodes i’m trying to use;

    [emember_protected do_not_show_restricted_msg=1]

    [wp_eMember_login]

    [/emember_protected]

    I don’t want to show login stuff on my account page.

    April 17, 2012 at 11:46 pm #37811
    admin
    Keymaster

    Thank you. Those are eMember shortcodes. This thread is for eStore. Try the following one:

    https://support.tipsandtricks-hq.com/forums/topic/emember-shortcode-inside-another-shortcode-shortcode-nesting-not-filtering

    April 17, 2012 at 11:47 pm #37812
    Yusuf akdag
    Member

    Oh they’re indeed emember shortcodes.

    Thank you for fast response.

    April 18, 2012 at 2:00 pm #37813
    Yusuf akdag
    Member

    Hello Admin,

    I tried this approach but didnt worked. Is there anything I should check?

    Plugin version v7.8.4

    April 19, 2012 at 3:45 am #37814
    Ivy
    Member

    I remember doing some work on your site. Please reply to that email with the access to the site and a link to the page where you have the above shortcodes and I will check it out.

    April 19, 2012 at 7:16 am #37815
    Yusuf akdag
    Member

    Thanks Ivy,

    i installed my version of emember and estore again. Because i had maaany style customizations and also mail formatting stuff in it.

    And as you stated you cant have troubleshoot customized scripts.

    October 15, 2012 at 11:36 am #37816
    karnage57
    Member

    Thanx alot it worked 4 me… How did u know how to do that?

    November 16, 2012 at 7:52 am #37817
    vkmaerkg
    Member

    Great!!!

    I had this problem but now all my shortcode work!

    Thank you!

    March 25, 2014 at 7:58 pm #37818
    webmiss
    Member

    I have a layout issue when I nest a shortcode inside of a shortcode:

    [sc_embed_player fileurl=”http://www.airdrivenmusic.com/audio-demo/rwb_brazilian_love_affair_clip.mp3″%5D Brazilian Love Affair[wp_eStore_add_to_cart id=36]

    If you go to [http://www.airdrivenmusic.com/midnight-magic-by-the-rwb-project/], you will see that the add to cart button is below the player and title. I’d like it to go side by side all on one line. Any way to do this?

    Thanks for your help.

    I decided to use a different shortcode. But would still like to know if the above can be done.

    March 26, 2014 at 2:35 am #37819
    wzp
    Moderator

    They look “side-by-side” to me, using Chrome 32.x, Firefox 27.x and IE 11.

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