|
|
Note: This guide is very rough, and not well tested. It's heavily based upon plaintxtblog.
Create the following file within the beautiful-day-2.0 theme directory:
<?php //Hack to set WP page id $page_id = null; //Change this to match your sites WP page id of new Photos page global $wp_query; global $post; if ($page_id != null) { $post->ID = $page_id; $wp_query->is_home = false; $wp_query->is_page = true; $wp_query->queried_object->ID = $page_id; $wp_query->queried_object_id = $page_id; } ?> <?php get_header(); ?> <?php /* Remove or comment out the below line after to finding the Photos page page_id */ if ($page_id == null) { echo '<h2>page_id = '.$post->ID.'</h2>'; } ?> <script type="text/javascript" src="<?php echo get_settings('siteurl'); ?>/wp-content/plugins/falbum/res/falbum.js"></script> <script type="text/javascript" src="<?php echo get_settings('siteurl'); ?>/wp-content/plugins/falbum/res/overlib.js"></script> <?php if ($falbum->can_edit == true) { ?> <script type="text/javascript" src="<?php echo get_settings('siteurl'); ?>/wp-content/plugins/falbum/res/prototype.js"></script> <?php } ?> <div class="main"> <div class="content"> <?php $falbum->show_photos(); ?> </div> <?php get_sidebar(); ?> <div class="clearer"><span></span></div> </div> <?php get_footer(); ?>
To edit CSS, simply edit wp-content/plugins/falbum/styles/default/falbum.css