Open jbonlinea opened 4 years ago
Issue-Label Bot is automatically applying the label Type: Bug
to this issue, with a confidence of 0.80. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Issue Overview
once set up as detailed here
I can add this shortcode in a gutemberg bloc and is is nicely displayed
But I can't add this shortcode in a gutemberg bloc, the page refuse to save returning
EDIT
with further research it seems to be the case when the nested shortcode calls a pods list calling a diferent pod type thant the parent shortcode, not a single pod
Now if I remove
define('PODS_SHORTCODE_ALLOW_SUB_SHORTCODES',true);
from wp-config.phpI don't get such errors and can save my post, but the result is awkward...
if the template ha no shortcode, the output is the template content, but without respect of the limit="1"
if the template has a shortcode, the result is the template content, with the shortcode displayed itself as well as what he is suppose to disply inside itself, and everything without respecting the limit="1"
Expected Behavior
while having the constante for nested pods shortcode enable
Current Behavior
see above for the most important part
As I'm using gantry5, I may add that as soon as add the constant in wp-config.php, the pages containing a pods shortcode calling a template containing a shortcode apears fully white. I add the pods shortcode in a custom html field
Steps to Reproduce (for bugs)
Possible Solution
WordPress Environment
Pods Package Export (helpful!)
Workaround or Alternate Solution Until Bug is Addressed
not yet
Related Issues and/or PRs