Shortcode Not Working Within Another Custom Shortcode
-
Hello there,
I’ve been working on a custom filter shortcode for my website. The filter checks for matching criteria based on categories using an Ajax call. Within this setup, I have a custom post type called “Balconies,” where I’ve incorporated a custom field. In this field, I store the shortcode for a 3D viewer, structured like this: “[3d_viewer id=401]”.(https://prnt.sc/Ia_d8nJY33yb)
Now, here’s the thing: when I try to display this shortcode using “<?php echo do_shortcode(‘custom_field’); ?>”, the 3D model doesn’t show up.
in short, i’m trying to display the shortcode in my custom shortcode.
I would greatly appreciate any insights or suggestions you might have on how to resolve this matter. Thank you so much..!
The topic ‘Shortcode Not Working Within Another Custom Shortcode’ is closed to new replies.