Archive for June 1st, 2007

While reworking my site I installed the Mandigo theme. I noticed that the FAlbum plugin that I use for my photos page was formatting oddly. I was able to resolve the problem by using a theme specific “falbum.php” file and replacing the basic “get_header” php statement with the following:

<?php
get_header();
$alwayssidebars = get_option('mandigo_always_show_sidebars');
if ($alwayssidebars) {
	include (TEMPLATEPATH . '/sidebar.php');
	if (get_option('mandigo_1024') && get_option('mandigo_3columns')) {
		include (TEMPLATEPATH . '/sidebar2.php');
	}
}
php?>

That’s it! FAlbum started producing the correct page layout.

Sphere: Related Content

New theme, spam comment blocking, asides, new flickr plugins, but same old blog