Advertisement
alchymyth

fullwidth-page.php

Dec 16th, 2012
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.89 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Template Name: Fullwidth Page
  4.  *
  5.  * Theme: http://wordpress.org/extend/themes/figero
  6.  * needs this added to style.css:
  7. .page-template-fullwidth-page-php .content-wrapper { margin-right: 0; }
  8.  *
  9.  */
  10. get_header();
  11. ?>
  12. <!--contact content start-->
  13. <div class="page-info-container">
  14.     <div class="container_24">
  15.         <div class="grid_24">
  16.             <div class="page_info">
  17.                 <?php if (have_posts())
  18.                    
  19.                     ?>
  20. <?php if (function_exists('figero_breadcrumbs'))
  21.     figero_breadcrumbs(); ?>
  22.             </div>
  23.         </div>
  24.         <div class="clear"></div>
  25.     </div>
  26. </div>
  27. <div class="strip_line"></div>
  28. <div class="content-container">
  29.     <div class="container_24">
  30.         <div class="grid_24">
  31.             <div class="content-main">
  32.                 <div class="alpha">
  33.                     <!--Start content Wrapper-->
  34.                     <div class="content-wrapper">
  35.                         <div class="content-info">
  36.                             <?php if (have_posts()) while (have_posts()) : the_post(); ?>
  37.                                     <h1 class="page-heading"><?php the_title(); ?></h1>
  38.                                             <?php the_content(); ?>
  39.                                     <div class="clear"></div>
  40.                                     <?php wp_link_pages(array('before' => '<div class="page-link"><span>' . 'Pages:' . '</span>', 'after' => '</div>')); ?>
  41.                                     <?php edit_post_link('Edit','', '' ); ?>
  42.                                 <?php endwhile; ?>
  43.                         </div>
  44.                        
  45.                         <!--Start Comment Section-->
  46.                         <?php comments_template(); ?>
  47.                         <!--End comment Section-->
  48.                     </div>
  49.                     <!--End content Wrapper-->
  50.                 </div>
  51.             </div>
  52.         </div>
  53.         <div class="clear"></div>
  54.     </div>
  55. </div>
  56. <!--contact content end-->
  57. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement