• Resolved sundayx

    (@sundayx)


    Hi smashballoon,

    Please help, I’m trying to get the feed working on this page: http://www.iamjacky.com/about/
    On the top right black box, the latest Instagram (instagram.com/sundayx) should be shown in there.
    – I tried changing all of the settings
    – I have authorized (and re-authorized) ID and token
    – The shortcode is displayed on the page (via php do_shortcode)
    – I’ve tried putting the ID in the shortcode
    – I should have a pretty new jQuery libraries loaded
    – I checked the wp_head and wp_footer in the php

    Please let me know what you need to help, I send send through the ID and token privately if it helps.

    Thanks

    https://wordpress.org/plugins/instagram-feed/

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

    (@smashballoon)

    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

    Thread Starter sundayx

    (@sundayx)

    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

    Plugin Author smashballoon

    (@smashballoon)

    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

    Thread Starter sundayx

    (@sundayx)

    Brilliant! That worked perfectly.

    Thanks for your prompt response John. Really helpful. Great plugin.

    Jacky

    Plugin Author smashballoon

    (@smashballoon)

    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

    Plugin Author smashballoon

    (@smashballoon)

    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!

    Plugin Author smashballoon

    (@smashballoon)

    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?

    Plugin Author smashballoon

    (@smashballoon)

    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!

    Plugin Author smashballoon

    (@smashballoon)

    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

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Nothing is displayed – Tried everything’ is closed to new replies.