WordPress.org

Support

Support » Plugins and Hacks » Simply Instagram » Widget sometime don't show

Widget sometime don't show

Viewing 2 replies - 1 through 2 (of 2 total)
  • I had this problem also. I tried extending the timeout to 20 and it seems to work everytime now. Not sure if I’ll run into that API limitation issue that other people experience (solution is to use a widget caching plugin).

    To fix, on line 186 in simply-instagram-functions.php replace this line:

    $response = wp_remote_get( $apiurl );

    with this line

    $response = wp_remote_get( $apiurl, array('timeout' => 20 ));

    To the plugin author: the widget now shows all the time now instead of randomly showing and not showing. Could you add this to the plugin? Or at least add a filter so the wp_remote_get args can be altered?

    Thanks

    hey webheadllc thanks for the tip. I will try this out.

    It seems like this widget is random at best on when it shows images. I hope this works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Widget sometime don't show’ is closed to new replies.
Skip to toolbar