WordPress.org

Ready to get started?Download WordPress

Forums

Simply Instagram
[resolved] Photos to link to actual Instagram photo page (11 posts)

  1. Bozz
    Member
    Posted 1 year ago #

    Hi, great plugin! I'd like to set this up in a widget that instead of opening the photos in a prettyPhoto box, to send visitors to the actual instagram page. Is this possible without hacking the plugin? Many thanks!

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

  2. rollybueno
    Member
    Plugin Author

    Posted 1 year ago #

    Hi there,

    Unfortunately, no. I'm still on developing phase for that feature.

    THanks

  3. 3stripe
    Member
    Posted 1 year ago #

    +1 for this. Can't use it otherwise :(

  4. kyjenpaul
    Member
    Posted 10 months ago #

    ^^^

    Would love to see this. Anyone have a hack they can share in the meantime?

  5. rollybueno
    Member
    Plugin Author

    Posted 10 months ago #

    Hello there,

    1.2.5 solves this.

    Thanks

  6. tgone83
    Member
    Posted 9 months ago #

    Hello,

    I have the latest version of this plugin but I can't figure out how to make the sidebar widget open photos on the actual Instagram page for the photo (instead of pop window). I'm using the "My Latest Photo" sidebar widget.

    Any ideas?

  7. rollybueno
    Member
    Plugin Author

    Posted 8 months ago #

    Hi tgone83,

    I'm sorry but I skipped the implementation of this function on widget. Currently, it's working for shortcode only but I will add this in next release.

    Thanks

  8. smallblockzach
    Member
    Posted 7 months ago #

    Needed the same functionality in the "My Latest Photos" widget so tracked this down.

    For those that need a hack for the time being, you can change line 95 in the simply-instagram-functions.php file to

    $output = '<a href="' . $data['data'][$i]['link'] . '"
    target="_blank" title="' .
    htmlspecialchars( $data['data'][$i]['caption']['text'], ENT_QUOTES ). '">';

    The instagram link URL is being stored in $data['data'][$i]['link], from there you can make the output whatever you would like.

  9. rollybueno
    Member
    Plugin Author

    Posted 7 months ago #

    Thanks for that smallblockzach.

  10. oxborough
    Member
    Posted 5 months ago #

    Glad to hear progress is being made on this function.

    In regards to the workaround posted by smallblockzach, I just tried to edit line 95 but that line was only a '{'. Has the plugin since been updated? I'm not sure where to paste the code, or how to manipulate the URL.

    Please excuse my ignorance, but if someone could explain in a bit more detail about how this is done, it would be much appreciated.

  11. annejohnson
    Member
    Posted 5 months ago #

    smallblockzach, that worked for me. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic