wpzoom / instagram-widget-by-wpzoom

The easiest way to add a nice Instagram widget on your WordPress site. It just works!
https://wordpress.org/plugins/instagram-widget-by-wpzoom/
GNU General Public License v2.0
21 stars 6 forks source link

Don't show error messages on public facing pages? #13

Closed litemotiv closed 3 years ago

litemotiv commented 3 years ago

When the instagram widget encounters an error, it shows this on the public facing pages, which may seem a bit unprofessional to visitors:

https://i.imgur.com/cJibzm5.png

Since the token may expire quite often, this would preferrably be avoided.

Would it be possible to only show this error in wp-admin, and hide all error output on the public facing pages?

ciorici commented 3 years ago

@litemotiv This is a message displayed only to site administrators. If you visit your website in a different browser where you are not logged in, then you will see that the error is not appearing.

litemotiv commented 3 years ago

@ciorici Ah got it, that makes sense yes. Thanks for your reply Pavel!