Hey sundayx,
It looks like the reason for the issue is that your WordPress theme is missing the WordPress wp_head and wp_footer functions from it’s header.php and footer.php files. These functions are required by plugins in order to include their CSS and JavaScript files in your page. Without the plugin’s JavaScript file included in your page then it isn’t able to retrieve the Instagram photos. To add these functions to your theme simply do the following:
1) Open your theme’s header.php file and add the following before the closing </head> tag:
<?php wp_head(); ?>
2) Open you theme’s footer.php file and add the following before the closing </body> tag:
<?php wp_footer(); ?>
Let me know whether that solves the problem for you,
John
Hi John… it fixed it. I was sure I tried this method already after reading the support but lo and behold, it worked this time. Thank you.
Another question, is there a way of removing the link back to the instagram (so no link on the image)?
Thanks again,
Jacky
Hey Jacky,
Glad to hear that fixed the issue for you π You can remove the links from the images by just adding the following to the plugin’s Custom JavaScript section which is on the Customize page:
$('.sbi_photo img').unwrap();
Let me know whether that works for you,
John
Brilliant! That worked perfectly.
Thanks for your prompt response John. Really helpful. Great plugin.
Jacky
No problem Jacky, happy to help!
If you like the plugin then would you consider leaving a really quick review? It really helps to support the plugin!
If you have any other questions or issues in future then just let me know,
John
Hi All,
I am trying to add an instagram feed to my wordpress site. It seems with smashballon’s instagram feed I can only add the shortcode to a post or page. Is this correct?
I want to add an instagram feed at the bottom of a page but outside of the loop. Meaning I do not want to add a shortcode to the page via wordpress’s dashboard, but rather in the .php file but after the posts loops are done.
Is there a way to do this?
Thank you for your help, in advance.
Mia
Hey Mia,
You can add the Instagram feed to a page, post, widget or directly to your page template. Check out the second last FAQ here labeled How do I embed my Instagram Feed directly into a WordPress page template? for more info.
If you have any other questions then just let me know.
John
Ok, I will take a look. Thank you John!
No probs, just let me know if you have any trouble.
John
Yes and perfect! Thank you so much John. It worked.
But how do I get the feed to have no scroll bar?
A scrollbar is only added if you set a height on the feed. To remove the scrollbar simply leave the ‘Height of Feed’ setting blank on the plugin’s Customize page.
Let me know whether that does the trick!
John
I think it does. Thank you so much!
You’re very welcome Mia! If you like the plugin and fancy leaving a quick review then it’s always hugely appreciated π
Just let me know if you have any other questions in future.
John