Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: Home
- */
- ?>
- <?php get_header(); ?>
- <div class="linkareas">
- <nav id="homenav" role="navigation">
- <?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?>
- <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
- </nav><!-- #homenav -->
- </div><!-- end linkareas -->
- <div id="content" role="main">
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <div class="post" id="post-<?php the_ID(); ?>">
- <?php if ( !( is_front_page()) ) { ?><div class="homepagecontent"><?php } ?>
- <?php if ( !( is_front_page()) ) { ?><h2 class="homepageheadline">(908)818-9030</h2><?php } ?>
- <?php if ( !( !is_front_page()) ) { ?><h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2><?php } ?>
- <?php the_content('<p class="serif">More »</p>'); ?>
- <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
- <?php if ( !( is_front_page()) ) { ?></div><?php } ?>
- </div>
- <!-- end post -->
- <?php endwhile; endif; ?>
- <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
- </div><!-- #content -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement