Seeing as though WordPress' dashboard UI is getting a major overhaul in WordPress 3.8, I've found myself having to cater for the new styling in a number of different plugins. This has created a need for a simple way to check if a site is running v3.8 or not. Luckily there's a very simple way to do this
Almost exactly a year ago I released Seriously Simple Podcasting, a podcasting plugin for WordPress that does exactly what it says on the tin - makes podcasting simple. Now the time has come for a massive overhaul of the code - the end result of which will be v2.0 of the plugin.
If you have ever wanted to display your posts (or a post type archive) in a random order, but keep the pagination consistent then here's your solution.
After struggling (yet again) with WordPress' non-hierarchical taxonomy UI I decided to write my own solution for modifying the term selection to use checkboxes just like its hierarchical counterpart.
I put together a .gitignore file that will exclude all WordPress core files from your repo so that only your themes and plugins will be uploaded - this works recursively, so that it will ignore all the copies of WordPress you have in the sub-folders of the repo.
Most WordPress themes come with a few useful widget areas where you can place any widgets you like. Sometimes, however, you need to add your own widget area because the theme you're using doesn't quite cut it. Paste this snippet in your theme's functions.php file to create a new widget area.
When building a plugin that has its own settings page, it's often handy to create a link to the settings page straight from the Plugins list - this saves users the time it takes to find where exactly your plugin appears in the admin menu. Here is a simple code snippet that creates the settings link for you - all you need to do is tell it where to go.
If something goes wrong with your WordPress install due to a faulty plugin or some bad PHP code, it can often be tricky to work out exactly what the issue is an how to fix it. Here are a couple of helpful functions and snippets that you can use to fix a number of WordPress issues.