Advertisement
Guest User

L+R bar

a guest
Feb 27th, 2012
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.67 KB | None | 0 0
  1. <?php /*template name: L+R side bars
  2. */?>
  3.  
  4. <?php get_header() ?>
  5. <?php do_action( 'bp_before_sidebar' ) ?>
  6. <div class="v_line v_line_right"></div>
  7. <div id="sidebar" class="widgetarea">
  8.     <div class="right-sidebar-padder">
  9.  
  10.     <?php do_action( 'bp_before_after_sidebar' ) ?>
  11.     <?php if( ! dynamic_sidebar( 'sidebar' )): ?>    
  12.        
  13.    
  14.  
  15.     <?php endif; // end primary widget area ?> 
  16.     <?php do_action( 'bp_inside_after_sidebar' ) ?>
  17.  
  18.     </div><!-- .padder -->
  19. </div><!-- #sidebar -->
  20.  
  21.  
  22. <table style="width: 770px;">
  23. <tbody>
  24. <tr>
  25. <td>
  26. <div id="content" >
  27.  
  28.  
  29. <?php do_action( 'bp_after_sidebar' ) ?>
  30.         <div class="padder">
  31.  
  32.  
  33. <?php do_action( 'bp_after_sidebar' ) ?>
  34.  
  35.         <?php do_action( 'bp_before_blog_page' ) ?>
  36.  
  37.     <div class="page" id="blog-page" >
  38.  
  39.             <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  40.  
  41.                 <h2 class="pagetitle"><?php the_title(); ?></h2>
  42.  
  43.                 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  44.                
  45.                     <div class="entry">
  46.  
  47.                         <?php the_content( __( '<p class="serif">Read the rest of this page &rarr;</p>', 'cc' ) ); ?>
  48.                         <div class="clear"></div>
  49.                         <?php wp_link_pages( array( 'before' => __( '<p class="cc_pagecount"><strong>Pages:</strong> ', 'cc' ), 'after' => '</p>', 'next_or_number' => 'number')); ?>
  50.  
  51.                     </div>
  52.                     <div class="clear"></div>
  53.                    
  54.                 </div>
  55.  
  56.             <?php endwhile; endif; ?>
  57.  
  58.         </div><!-- .page -->
  59.         <?php cc_list_posts_on_page(); ?>
  60.        
  61.         <div class="clear"></div>
  62.        
  63.         <?php edit_post_link( __( 'Edit this page.', 'cc' ), '<p class="edit-link">', '</p>'); ?>
  64.  
  65.        
  66.         </div><!-- .padder -->
  67.     </div><!-- #content -->
  68. </td>
  69. </tr>
  70. </tbody>
  71. </table>
  72.    
  73.    
  74. <?php get_footer() ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement