Advertisement
likoma

page

May 12th, 2012
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. <?php
  2.  
  3. /**
  4.  
  5. * Page Template
  6.  
  7. *
  8.  
  9. * This template is the default page template. It is used to display content when someone is viewing a
  10.  
  11. * singular view of a page ('page' post_type) unless another page template overrules this one.
  12.  
  13. * @link http://codex.wordpress.org/Pages
  14.  
  15. *
  16.  
  17. * @package WooFramework
  18.  
  19. * @subpackage Template
  20.  
  21. */
  22.  
  23.  
  24.  
  25. get_header();
  26.  
  27. ?>
  28.  
  29.  
  30.  
  31. <!-- #content Starts -->
  32.  
  33. <?php woo_content_before(); ?>
  34.  
  35. <div id="content" class="col-full">
  36.  
  37.  
  38.  
  39. <div id="main-sidebar-container">
  40.  
  41.  
  42.  
  43. <!-- #main Starts -->
  44.  
  45. <?php woo_main_before(); ?>
  46.  
  47. <div id="main">
  48.  
  49. <?php
  50.  
  51. woo_loop_before();
  52.  
  53.  
  54.  
  55. if (have_posts()) { $count = 0;
  56.  
  57. while (have_posts()) { the_post(); $count++;
  58.  
  59. woo_get_template_part( 'content', 'page' ); // Get the page content template file, contextually.
  60.  
  61. }
  62.  
  63. }
  64.  
  65.  
  66.  
  67. woo_loop_after();
  68.  
  69. ?>
  70.  
  71. </div><!-- /#main -->
  72.  
  73. <?php woo_main_after(); ?>
  74.  
  75.  
  76.  
  77. <?php get_sidebar(); ?>
  78.  
  79.  
  80.  
  81. </div><!-- /#main-sidebar-container -->
  82.  
  83.  
  84.  
  85. <?php get_sidebar( 'alt' ); ?>
  86.  
  87.  
  88.  
  89. </div><!-- /#content -->
  90.  
  91. <?php woo_content_after(); ?>
  92.  
  93.  
  94.  
  95. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement