Created
January 18, 2012 03:33
-
-
Save billrobbins/1630698 to your computer and use it in GitHub Desktop.
Picture Page Centered
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| Template Name: Picture Page Center | |
| */ | |
| ?> | |
| <?php get_header(); ?> | |
| <div id="front"> | |
| <div id="home"> | |
| <div class="fix" id="page-center"> | |
| <div class="scroll-pane clearfix"> | |
| <?php if (have_posts()) : while (have_posts()) : the_post(); ?> | |
| <h1><?php the_title(); ?></h1> | |
| <?php the_content(__('Read more'));?> | |
| </div> | |
| </div> | |
| <div id="frontimage"> | |
| <?php the_post_thumbnail('picture-page'); ?> | |
| <?php endwhile; else: ?> | |
| <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> | |
| <?php endif; ?> | |
| </div> | |
| </div><!-- Close Home --> | |
| </div><!-- Close Front --> | |
| <?php if(ot_option('home_footer') == 'Yes') { ?> | |
| <?php include(TEMPLATEPATH."/footer_home.php");?> | |
| <?php } ?> | |
| <?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment