Browsing archives for 'PHP'

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 

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 

WordPress Maintenance Mode Without a Plugin

Code,CoolStuff,HowTo,PHP,Snippet,WordPress 9 June 2009 20 Comments

Every so often someone asks a question in the WordPress IRC channel that sparks my interest, and in this case the core maintenance mode functionality was one of those questions. I’ve known for sometime that WordPress has it’s own maintenance mode functionality since core upgrades were added, however I had never really looked into the … Continue reading