• Resolved cannon303

    (@cannon303)


    Hi I struggling to get this plugin to work. I have used the shortcode [instagram-feed] in a widget. I’ve tried it in the main content area as well to no effect. I have wp_footer(); and wp_head(); declared. I have checked for javascript errors but nothing apart from a few warnings regarding depreciated elements and missing source mapping. I have revoked access in Instagram and re-authorized plugin a few times to generate new access tokens. The Instagram account is not private. I do have the plugin working on a different site with a different instagram account and noticed in the source code that these scripts are added to the page through wp_footer(); :

    <script type=’text/javascript’>
    /* <![CDATA[ */
    var sb_instagram_js_options = {“sb_instagram_at”:”*****Access Token*****”};
    /* ]]> */
    </script>
    <script type=’text/javascript’ src=’https://www.website.com/wp-content/plugins/instagram-feed/js/sb-instagram.min.js?ver=1.5.1′></script&gt;

    This isn’t happening on the site I am having problems with, even though wp_footer(); is declared and pulling in other scripts such as the admin-bar js. I have tried hard coding the above script with correct access token but still no joy. If you visit the page, at the bottom of it you will see the loading graphic and the 2 buttons but nothing else. Any help would be much appreciated. Thanks

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter cannon303

    (@cannon303)

    Just a quick update, I have tried pulling in the instagram feed temporarily on the site that works and it shows the feed successfully so the problem must be something to do with a conflict on the site rather than with Instagram.

    • This reply was modified 6 years, 11 months ago by cannon303.
    Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Hey cannon303,

    It does, in fact, look like the file is missing from the source code of the page and that is the problem. You mentioned that your theme uses wp_footer(). Could you try switching themes for a moment to see if it fixes the problem? If it does, you may need to contact the theme author.

    I can also help you hardcode the file to be included but it’s less ideal. Let me know how switching themes goes!

    – Craig

    Thread Starter cannon303

    (@cannon303)

    Sorted – thanks Craig. I built the theme but I used a bootstrap bare bones theme as a starting point. There were a few scripts in the functions.php which I didn’t recognise as something I needed so removed them and all now works.

    Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Sounds good! Glad you could find a fix. Let me know if you need anything else!

    – Craig

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I cannot get the plugin to show’ is closed to new replies.