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.
Since my podcasting plugin, Seriously Simple Podcasting, has become relatively popular I am doing some customer research for the next steps for the plugin’s development. Any answers you can give will be invaluable.
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.
I’ve been working on a lot of plugins lately – many for my work at WooThemes and a few for my personal projects – and over time I have developed a standard code base from which I start any of my new plugins. I decided to share that code base here.
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.
In order to minimise the amount of plugins your site uses, here’s a simple function I use to show a post’s featured image in the RSS feed (something WordPress does not do by default).
A quick line of code to ensure that your WordPress content editor will always land on the HTML tab by default. This will ensure that your HTML tags & attributes are never stripped automatically.