plugins Archives

How to link to graphic assets within WordPress Plugins

When you want to display graphics that reside inside your own plugin directory you can serve those via a handy built-in WordPress function called plugins_url. It works just like its counterpart get_stylesheet_directory_uri does in themes. For example, if you’d like to link to a file that resides at http://yourdomain.com/wp-content/plugins/your-plugin/images/your-graphic.png then you can write this URL … Read more

How to disable update notifications in WordPress

wordpress_iconsSometimes “new” doesn’t always mean “better” or “suitable”.

Sometimes we require older versions of plugins and I’d rather WordPress would not tell me that there’s a newer version available. After all, I might accidentally update a plugin – or perhaps my clients do, breaking the site or overwriting customisations.

Let’s take a look at how we can disable those notifications, both for single plugins and for the entire site.

Read more