Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password? (Having an issue with the forum login?)

Search the Forum

Tips and Tricks HQ Forum » WP eStore Forum » WP eStore F.A.Q/Instructions

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

(9 posts) (3 voices)
  • Started 7 months ago by admin
  • Latest reply from Yusuf akdag
  • Possible Solutions (Related Topics):
    1. eMember - Shortcode Inside Another Shortcode (Shortcode Nesting) Not Filtering
    2. [wp_eStore_product_search] shortcode not working properly in IE8 or IE9
    3. why isnt the shortcode: [wp_estore_transaction_result:end] working?
    4. Version v4.3.4 but extra shortcodes not working for eStore
    5. Shortcode [wp_eStore:product_id:1:end] not working in Custom Fields

Tags:

  • eStore shortcode nesting
  1. admin
    Key Master

    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.

    Posted 7 months ago #
  2. 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?

    Posted 1 month ago #
  3. admin
    Key Master

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

    Posted 1 month ago #
  4. 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.

    Posted 1 month ago #
  5. admin
    Key Master

    Thank you. Those are eMember shortcodes. This thread is for eStore. Try the following one:
    http://www.tipsandtricks-hq.com/forum/topic/emember-shortcode-inside-another-shortcode-shortcode-nesting-not-filtering

    Posted 1 month ago #
  6. Yusuf akdag
    Member

    Oh they're indeed emember shortcodes.
    Thank you for fast response.

    Posted 1 month ago #
  7. Yusuf akdag
    Member

    Hello Admin,
    I tried this approach but didnt worked. Is there anything I should check?
    Plugin version v7.8.4

    Posted 1 month ago #
  8. Ivy
    Administrator

    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.

    Posted 1 month ago #
  9. 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. But i really cant use out of box version.

    Posted 1 month ago #

RSS feed for this topic

Reply

You must log in to post.

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin