Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Scott (@scottsweb)

    (@scottsweb)

    The images are cached for two hours by default. This can be changed using a filter as described in the plugin FAQ: https://www.ads-software.com/plugins/wp-instagram-widget/faq/

    You could reduce the cache time down to 5 minutes. I do not recommend reducing it to 0 as it will heavily impact the load time of your site.

    Plugin Author Scott (@scottsweb)

    (@scottsweb)

    Please can you also let me know what theme is selling my plugin. Thanks.

    Hi Scott,
    I have the same issue, so i add the filter you mention into my child theme functions.
    i want to set 10 min. so 600seconds

    i have set this:

    add_filter(‘null_instagram_cache_time’, ‘my_cache_time’);
    function my_cache_time() {
    return 600;
    }

    is this correct ?

    Thanks

    Plugin Author Scott (@scottsweb)

    (@scottsweb)

    That looks correct to me. It may take a while for the first cache to invalidate (2 hours). Once it does it should respect your new settings.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘New images take hours to show up’ is closed to new replies.