Close

Account

Documentation

Forum

Menu

Reply To: Don't work instagram widget and instagram feed

Post count: 10848
Adek
March 26, 2018 at 7:24 am #29907

Hi All,

For the Instagram Feed, there’s a cache for the feed and it will update automatically in 1 day. So you might need to change the expired time or disable it. To do that, please try to edit the following this files below:

1. wordpress/jnews/class/Widget/Normal/Element/InstagramWidget.php jump into line 286 (or search) then adjust this code $expire = 60 * 60 * 24; // set expire in 1 day as your need.

2. wp-content/plugins/jnews-instagram/class.jnews-instagram.php jump into line 199 (or search) then adjust this code $expire = 60 * 60 * 24; as your need.

Let me know if you have further question.

Thank you