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
- This topic has 12 replies, 7 voices, and was last updated 9 years, 2 months ago by wzp.
October 22, 2011 at 2:23 am #4591
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:
2. Once you find it replace it with the following:
Now try it out and see if the nested shortcodes are all working.April 17, 2012 at 2:10 pm #37808
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
Nope, no restart required. Share the two shortcodes that you are using in a nested setup.April 17, 2012 at 11:27 pm #37810
the shortcodes i’m trying to use;
I don’t want to show login stuff on my account page.April 17, 2012 at 11:46 pm #37811
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-filteringApril 17, 2012 at 11:47 pm #37812
Oh they’re indeed emember shortcodes.
Thank you for fast response.April 18, 2012 at 2:00 pm #37813
I tried this approach but didnt worked. Is there anything I should check?
Plugin version v7.8.4April 19, 2012 at 3:45 am #37814IvyMember
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
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 #37816karnage57Member
Thanx alot it worked 4 me… How did u know how to do that?November 16, 2012 at 7:52 am #37817vkmaerkgMember
I had this problem but now all my shortcode work!
Thank you!March 25, 2014 at 7:58 pm #37818webmissMember
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 #37819wzpModerator
They look “side-by-side” to me, using Chrome 32.x, Firefox 27.x and IE 11.
- You must be logged in to reply to this topic.