The Shadowbox JS WordPress plugin has been updated to version 3.0.0.1. This is a large update to the plugin. New to this release is a brining PHP4 support back, reduction in queries run on each load, inline change log view in plugin update notice, hide portions of settings page when all settings have been deleted from the database, and added Russian translation. See the change log for a full list of changes. (3)
The Twitter Hash Tag Widget WordPress plugin has been updated to version 1.1. New to this version is compatibility with PHP versions not containing JSON support. See the change log for all changes. Enjoy! (0)
The Possibly Related Recent Posts WordPress plugin has been updated to version 1.3. New to this version is an options page and the option to not show related posts below each post when on the blog page See the change log for all changes. Enjoy! (0)

WordPress Maintenance Mode Without a Plugin Part 2

17 Jun 2009 16:12:15 EDT | Code, CoolStuff, HowTo, PHP, Snippet, Wordpress | By: Matt

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 see if there is a file titled maintenance.php located in WP_CONTENT_DIR which is by default wp-content/.

Simply create a file at wp-content/maintenance.php containing the code you want to display the for the maintenance page. Below is a sample of code based off of the default maintenance page.


<?php
$protocol = $_SERVER["SERVER_PROTOCOL"];
if ( 'HTTP/1.1' != $protocol && 'HTTP/1.0' != $protocol )
	$protocol = 'HTTP/1.0';
header( "$protocol 503 Service Unavailable", true, 503 );
header( 'Content-Type: text/html; charset=utf-8' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

</head>
<body>
<h1>Briefly unavailable for scheduled maintenance. Check back in a minute.</h1>

</body>
</html>
<?php die(); ?>

Modify as needed, add some css, some images and there you go.

Possibly Related Posts:


Congratulations to the WordPress Community for a Successful 2.8 Release

11 Jun 2009 13:56:15 EDT | CoolStuff, News, Wordpress | By: Matt

With WordPress 2.8 having been released and amassing over 64,000 downloads in the first 12 hours, I wanted to take a few moments to give my congratulations to the WordPress team for another great release.

Many thanks go out to all of those who contributed code for the 2.8 release. I know many of you worked hard to help get this release where it is today. In total there were 153 people who contributed code to WordPress 2.8. Here is the list of people who contributed:

Aaron Campbell, Abel Cheung, adferguson, akd907, Alex Rabe, anderswc, Anton Shevchuk, arena, Askapache, Andrew Ozz, Beau Lebens, bernzilla, bkrausz, brh, brianwhite, caesarsgrunt, ceenz, CharlesClarkson, CharlieHamu, chineseleper, chmac, chrisbliss18, christmasboy81, Cimmo, clwill, Scott Reilly, danlee, dcole07, Dion Hulse, Demetris Kikizas, Denis de Bernardy, designsimply, develish, docwhat, Donncha O Caoimh, drossy, dwc, dwenaus, emartin24, empireoflight, ev3rywh3re, Federico Bond, Austin Matzko, fuggi, futurix, Lester Chan, GM_Alex, gmpfree, gortsleigh, GregMulhauser, hailin, hakre, hudatoriq, Benedict Eastaugh, Jacob Santos, jamescollins, jbsil, jcraig90210, jdub, Jeremy Clarke, Jennifer Hodgdon, John Blackbourn, johnconners, johnkolbert, JohnLamansky, Joseph Scott, Joost de Valk, jsixpack, JulienV, kambiz.k., kamiyeye, Kuba Zwolinski, Lloyd Budd, lusuonline, makibo, Malaiac, mark8barnes, markedwards, Mark Jaquith, mastermind, Matt Mullenweg, mattwalters, MattyRob, Michael Adams, mercurix, mgriepentrog, mgsisk, MichaelH, MidnighToker, minusfive, mrmist, Mr Pete, Nick Momrik , mystyman, natethelen, Nathan Rice, Nazgul, nbachiyski, neoxx, Nicholas91, nightgunner5, Noel Jackson, novalis_dt, Samuel Wood, pamelatech, Paveo, peaceablewhale, PeteHoliday, peterkz, piouPiouM, pishmishy, pne, PotterSys, projct, ranchnachos, Daniel Jalkut , richcon, ridgerunner, Ryan McCue, roganty, ruslany, Ryan Boren, Sam_a, Sam Bauers, scohoust, scribu, simek, Simon Wheatley, sirzooro, Matt Martz, srobbin, st3ff3n, stringfold, tellyworth, Charles Frees-Melvin, TimButterfield, tomontoast, topncal, Thorsten Ott, turboguy, Txanny, UnderWordPressure, Alex, Vladimir Kolesnikov, Peter Westwood, Will Norris, wnorris, yoavf, zedlander, zekrap, zeronex, zeo, znarfor

Possibly Related Posts: