troubleshoot this shortcode with variable
-
I am not sure if my brackets inside the
[php]
tags are messing up the code. Here is what I have:[php]
$img_ids = 432,232;
do_shortcode('[gallery ids='.$img_ids.']'));
[php]
Please advise on how to fix
Thanks!https://www.ads-software.com/plugins/allow-php-in-posts-and-pages/
- The topic ‘troubleshoot this shortcode with variable’ is closed to new replies.