====== Connections Setup ====== Updated for: * FAlbum 0.6.4 * WordPress 2.0.2 * Connections 1.0 ===== falbum.php ===== In the **\wordpress\wp-content\themes\connections** directory. Create a new file named **falbum.php** and copy the below code into it. **falbum.php** 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; } ?> is_album_page()) { ?> <?php echo $falbum->get_page_title(); ?> <?php wp_title(''); ?> <?php if ( !(is_404()) && (is_single()) or (is_page()) or (is_archive()) ) { ?> at <?php } ?> <?php bloginfo('name'); ?> can_edit) { ?>
page_id = '.$post->ID.''; } ?>

*/ ?>
show_photos(); ?>
===== WordPress page setup ===== * Go into Wordpress Admin and create a new page. * Enter the Page Title that you what the header tab to be named (ex. "Photos"). * For the Parent Page make sure //Main Page (no parent)// is selected * For the Page Template assign the newly created template with the name //FAlbum Page template//. * The page slug can be assigned to ex. "photos-main" (It should not be the same value you used in falbum configuration for the URL root value). * Then go and run the new page. *You should see a page_id value displayed on the page. You will then need to edit the **wordpress\wp-content\themes\connections\falbum.php** file again and change the page_id value from null to the number shown. **Example** Old: $page_id = null; //Change this to match your sites WP page id of new Photos page New: $page_id = 2; //Change this to match your sites WP page id of new Photos page