Tag Archive for 'php'

Interspersing your post listing with date headers in WordPress

Update: OK, so at least one person wanted it as a plugin, so feel free to download Intermittent Date Headers.

Here’s a code snippet that’s not really worth making into a plugin. It’s designed to put date headers into your main post listing page. As an example, you could end up with:

Heading: March, 2008
Post: dated 15th March
Post: dated 28th March
Post: dated 29th March
Heading: April, 2008
Post: dated 1st April
Post: dated 4th April

Continue reading ‘Interspersing your post listing with date headers in WordPress’

I’ve made a useless WordPress plugin…

…which you might find useful if you develop plugins with system requirements, like a particular version of PHP. This plugin is a simple proof of concept for a method of messaging the user when they activate a plugin.

Continue reading ‘I’ve made a useless WordPress plugin…’

Exclude Pages now hides child pages where appropriate

Exclude Pages (my WordPress plugin which allows you to remove pages from site navigation) now handles child pages more gracefully. Previously, when you excluded a page any child page would drop down a level, taking it’s place… not what I wanted, and not something I’d noticed because I was only dealing with single level navigation when I wrote the plugin. Continue reading ‘Exclude Pages now hides child pages where appropriate’




Bad Behavior has blocked 765 access attempts in the last 7 days.