Browsing archives for 'Code'

WordPress Metric Comparison of 2.9.2 and 3.0

Code,CoolStuff,Fun,PHP,WordPress 4 July 2010 8 Comments

Some times I like to look at metrics. Because I am bored? Probably. Without metrics how can really compare things. In any case I wanted to see the difference in the number of queries, generation time and peak memory usage between WordPress 2.9.2 and WordPress 3.0. One of the things that I have heard people … Continue reading 

Detect wp_head and wp_footer from a Plugin

CoolStuff,Fun,HowTo,PHP,Plugins,Questions,Uncategorized,WordPress 25 April 2010 5 Comments

Normally I start these posts with “Every so often someone asks a question in the WordPress IRC channel that sparks my interest”, however today, to my great surprise someone actually caught my attention on the wp-hackers mailing list. For those of you who didn’t click through, the question was: Couldn’t find this on forums or … Continue reading 

Write Good Plug-ins and Get Involved in WordPress Development

Code,Plugins,Talks,Technology,WordCamp,WordPress 13 November 2009 3 Comments

This is cross posted from the WordCamp NYC site. This post will show up there at some point today. Howdy, I’m Matt Martz. The majority of you probably know me as ‘sivel’ and I will be doing two separate talks at WordCamp NYC on Saturday, one in the Advanced Plug-in Dev Track and one in … Continue reading 

WordPress Maintenance Mode Without a Plugin Part 3

Code,CoolStuff,HowTo,PHP,Snippet,WordPress 22 October 2009 13 Comments

A few months ago I wrote part 1 and part 2 of WordPress Maintenance Mode Without a Plugin. Part 1 covered the basics of using the .maintenance file, and part 2 covered styling the maintenance page using wp-content/maintenance.php. Part 3 covers the short comings of the other 2 by addressing how to let a user … Continue reading 

WordPress Maintenance Mode Without a Plugin Part 2

Code,CoolStuff,HowTo,PHP,Snippet,WordPress 17 June 2009 4 Comments

A few days ago I wrote a post about WordPress Maintenance Mode Without a Plugin. A common question that I got afterwards was whether or not the maintenance page could be styled. The answer, is yes it can be. After wp-settings.php determines whether or not to put the blog into maintenance mode it checks to … Continue reading