Browsing archives for 'HowTo'

Using MySQL Sockets in the WordPress wp-config.php

CoolStuff,HowTo,WordPress 30 June 2010 3 Comments

Recently I have been getting a lot of questions about how to use a MySQL socket in place of the DB_HOST constant for WordPress in the WordPress IRC channel. Fortunately this is pretty easy, unfortunately if you are using the web based installer you cannot specify a socket in the “Database Host” field. However, you … 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