WordPress.org

Ready to get started?Download WordPress

Forums

Simply Instagram
Two different viewers on top of each other (5 posts)

  1. Jacintha
    Member
    Posted 1 year ago #

    I installed Simply Instagram and the widget is showing fine on my website. However, when I click on one photo, it opens two different types of viewers on top of each other. So when I click to close the first there's another one underneath. How can I fix this?

    http://wordpress.org/extend/plugins/simply-instagram/

  2. rollybueno
    Member
    Plugin Author

    Posted 1 year ago #

    Much probably because of conflicts in scripting. Can I see your site?

  3. Jacintha
    Member
    Posted 1 year ago #

    Yes, sure. It's http://www.jacinthaverdegaal.nl. Thanks!

  4. rollybueno
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for that. Here's what I found out on your site. My plugin slideshow is using PrettyPhoto which is a clone from Lightbox. Same thing happens to your Pinterest Lightbox. Both are cloned from same source and have same functionality( or rather I say same method of displaying slideshow ).

    Here's the problem. Pinterest Lightbox will be triggered on all images based on anchor tag that has image extension( jpeg, png etc.) without specific identifier, thus when you click on instagram photos, PL will run at the back of PrettyPhoto.

    Please take a look at your javascript code inside head tag to see what I'm talking about.

    I don't know if you prefer this solution as it will break some functionality in my plugin but since your site has used to PL plugin, I think this will be the best option for you.

    Kindly put into comment all javascript code in simply-instagram-widget.php on line 560 - 566.

    Simply Instagram will still display your images in widget but Pinterest Lightbox will take over on slideshow module.

    Let me know how it works.

    Thanks

  5. Jacintha
    Member
    Posted 1 year ago #

    I'm afraid this is a little bit out of my league. I'm not very familiar with Java code. I found this empty box in WordPress where I can add custom Javascript. Can you tell me what text I should literally put here? Thanks. (By the way, I do indeed prefer the Pinterest layout).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.