Complicated do_shortcode wrap… the best kind of wrap!
-
Howdy!
I’m trying to get my table to trigger via my functions.php in a div I’ve spawned. To do this, I’m using “do_shortcode” with another shortcode ([table]) nested as the content inside:
<?php echo do_shortcode('[expand title="<img src="/my/image.png />" tag="MyTag" trigclass="noarrow" rel="button-highlander"?alt="My Alt Name"] [table id=tableidname /] [/expand]'); ?>
This code successfully creates a lone drop-down arrow with the table inside, BUT it doesn’t seem that the image/title or the other collapse-o-matic modifiers are registering. What can I alter here to make things work?
Thank you!!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Complicated do_shortcode wrap… the best kind of wrap!’ is closed to new replies.