Implements a full-fledged photo gallery function within WordPress.
Use a sidebar. Turn-on the Darkroom setting for Use Sidebar for Navigation. Then, put the following code in your
sidebar.php file in your theme: <?php darkroom_sidebar(); ?>.
There are several parameters available for this function: darkroom_sidebar($include_timestamps = TRUE,
$head_name = ëPicture Galleriesí, $is_item = TRUE, $title_before = ë<h2><em>í, $title_after = ë</em></h2>í,
$list_class = ëcategoriesí)
Once you get the sidebar working, you may want to supress some of the other sidebar content. Also see ìCustomize Your Theme,î below, for the functions you can use to do this.
Enable the footer. First, put the following code in your footer.php file in your theme: <?php darkroom_footer(); ?>.
There are two parameters available for this function: darkroom_footer($before=î, $after=í<br />í).
Customize your theme. There are two approaches:
For example, most themes include the page name at the top of the page. This just messes up the flow of Darkroom.
You could change a line in your themeís page.php to read something like this: <?php if (!is_darkroom()) { ?><h2>
<?php the_title(); ?></h2><?php } ?>
Requires: 2.6 or higher
Compatible up to: 2.6.5
Last Updated: 2008-12-5
Downloads: 1,061
Got something to say? Need help?