• Resolved prepre73

    (@prepre73)


    Hi,

    Does anyone know how I can add this to the index.php of my custome theme? looking in the dom instagram appears and I don’t seem to be getting any console errors but I can’t figure out how to make this work. I’m assuming the [instagram] hook is only for the wp back end.

    Is this a pro version only feature, surely not?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author smashballoon

    (@smashballoon)

    Hi prepre73,

    You can embed the feed directly into a template file by using the WordPress do_shortcode function:

    <?php echo do_shortcode('[instagram-feed]'); ?>

    This is true for either the free or Pro version.

    Like with most plugins, the theme needs to include the standard WordPress wp_head and wp_footer functions in the header.php and footer.php files respectively in order for the plugin to work.

    Let me know whether this helps, and I hope you’re having a good weekend.

    John

    Thread Starter prepre73

    (@prepre73)

    Hi,

    Thanks for the speedy reply, this is now working as expected.

    enjoy the rest of your sunday.

    Paul

    Plugin Author smashballoon

    (@smashballoon)

    Great, glad to hear that Paul! If you like the plugin and fancy leaving a super-quick review then we always really appreciate it.

    Have a great week!

    John

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom WP themes’ is closed to new replies.