Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author girish.tiwari

    (@girishtiwari)

    Hi,

    You can place the shortcode in your WordPress template files. for e.g – <?php echo do_shortcode(‘[wp-image-refresh]’); ?>

    I put this code into a TwentyTwelve theme and it crashed the site. The line looked like this:

    <div id=”frontimages”><?php echo do_shortcode(‘[wp-image-refresh]’); ?></div>

    Without seeing the site, any ideas why?

    Please and thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Embed PHP code’ is closed to new replies.