Advertisement
beejay

wpforumthread1

Jan 20th, 2012
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. <?php
  2. /*
  3. Template Name: Home
  4. */
  5. ?>
  6. <?php get_header(); ?>
  7. <div class="linkareas">
  8. <nav id="homenav" role="navigation">
  9. <?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. */ ?>
  10. <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
  11. </nav><!-- #homenav -->
  12. </div><!-- end linkareas -->
  13. <div id="content" role="main">
  14. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  15. <div class="post" id="post-<?php the_ID(); ?>">
  16. <?php if ( !( is_front_page()) ) { ?><div class="homepagecontent"><?php } ?>
  17.  
  18. <?php if ( !( is_front_page()) ) { ?><h2 class="homepageheadline">(908)818-9030</h2><?php } ?>
  19. <?php if ( !( !is_front_page()) ) { ?><h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2><?php } ?>
  20. <?php the_content('<p class="serif">More &raquo;</p>'); ?>
  21.  
  22. <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  23. <?php if ( !( is_front_page()) ) { ?></div><?php } ?>
  24. </div>
  25. <!-- end post -->
  26. <?php endwhile; endif; ?>
  27. <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
  28.  
  29. </div><!-- #content -->
  30. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement