• Resolved fromthelandweliveon

    (@fromthelandweliveon)


    Hello,

    Love your plugin! I have a question + feature request

    1. Is it possible to disable the responsiveness of the plugin through the customization options? If not, can you add that option in a future update?

    2. Can you add an optional “nopin” attribute to the images in a future update? I’m using jquery to add it right now, but it would be great to have it build in. I’m getting my instagram pictures pinned, which is not desirable behaviour on my site.

    Thank you!

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

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

    (@smashballoon)

    Hey fromthelandweliveon,

    Thanks for the feedback and questions 🙂 I’ve answered them below:

    1) When you say that you’d like to disable the responsiveness do you mean that you want the feed to stay at a fixed width no matter what size your screen is? Or that you want to disable the changes in the grid layout when the screen is at a different size?
    You can disable the responsive width by just setting a pixel width on the plugin’s Settings page, 300px for example, rather than a percentage width. In order to prevent the grid layout from changing I would need to put together a CSS snippet for you. Let me know if you need me to do that.

    2) You may be able to just add the no-pin attribute via JavaScript. Could you try adding the following to the plugin’s Custom JavaScript section, which is on the Customize page, and let me know whether it solves the problem for you?

    $('#sbi_images img').each(function(){
    $(this).attr('no-pin', 'true');
    });

    Hope you’re having a good weekend,

    John

    In case anyone stumbles across this, the nopin part of this thread was resolved here: https://wordpress.org/support/topic/instagram-feed-interfering-with-ability-to-pin-images-from-the-content?replies=6

    I just used that fix from the thread I’m linking to (not the fix above) with WP 4.2.4 and Instagram Feed 1.3.7, works like a charm.

    Plugin Author smashballoon

    (@smashballoon)

    Thanks for posting the link skyekilaen. Glad to hear that worked for you!

    John

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable Responsiveness add "nopin" attribute’ is closed to new replies.