The feed's posts are not showing up on my website
On rare occasions, once you've embedded the Instagram feed from Spotlight on your website, either using the block, shortcode or widget, the feed will show up but the posts will be missing entirely.
In most of the cases that we've seen this happen, the causes have been one of the following.
Permalinks need flushing
- Go to your WordPress Admin area.
- Navigate to Settings > Permalinks.
- Click on Save Changes without making any changes.
By not changing any settings on the page and saving, you've flushed the permalinks on your site, meaning we've forced WordPress to refresh them.
This should fix the problem and the feed's posts should appear once again.
REST API is disabled
Spotlight requires the built-in WordPress REST API.
If you are using a security plugin that disables the WP REST API, such as All In One WP Security & Firewall or WP Hardening, you will need to find that plugin's settings and make sure that the option that disables the REST API is not enabled. The option may refer to the REST API as the "JSON API", which is the same thing.
Alternatively, if your security plugin lets you whitelist certain REST API namespaces, you can add an exclusion for the
sl-insta namespace. This allows you to lock down your site's WP REST API without breaking Spotlight's feeds.
Caching plugin compatibility
Although Spotlight directly integrates with many caching plugins to prevent such issues from happening, there are a few smaller caching plugins or specific settings that can still cause it to happen. Please review our caching compatibility help articles to find the resolution that works for you.