root/headlines-new-theme/page.php

Revision 31, 0.8 kB (checked in by drakewils..@gmail.com, 5 months ago)

headlines theme. for realz this time

Line 
1 <?php get_header(); ?>
2
3 <div id="lower-wrap">
4
5     <div id="main-col">
6
7         <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
8         <div class="post" id="post-<?php the_ID(); ?>">
9             <?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
10             <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
11         </div>
12         <?php endwhile; endif; ?>
13    
14     </div>
15
16 <?php
17     $page = $_SERVER['REQUEST_URI'];
18     $page = explode("?", $page);
19     $page = $page[0];
20     $page = str_replace("/","",$page);
21     $page = str_replace(".php","",$page);
22     $page = $page ? $page : 'default'
23 ?>
24
25 <?php if(!($page == "web-search")): ?>
26
27 <?php include (TEMPLATEPATH . '/socialsidebar.php'); ?>
28
29
30     <?php get_sidebar(); ?>
31    
32 <?php endif; ?>
33    
34 </div>
35
36 <?php get_footer(); ?>
Note: See TracBrowser for help on using the browser.