Advertisement
Guest User

Page - Right Sidebar A

a guest
Sep 30th, 2012
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.03 KB | None | 0 0
  1. <?php
  2. /*
  3. Template Name: Page - Right Sidebar A
  4. */
  5.  
  6. /* Fetch admin options. */
  7. global $options;
  8. foreach ($options as $value) {
  9. if(isset($value['id']) && isset ($value['std']))
  10.     if (get_option( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_option( $value['id'] );}
  11. }
  12. get_header(); ?>
  13. <div class="content_medium">
  14. <?php get_template_part( 'featured' );
  15. if (have_posts()) :
  16.         while (have_posts()) : the_post(); ?>
  17.                 <?php the_content( __( 'More &rarr;', 'volt' ) );
  18.                 wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'volt' ), 'after' => '</div>' ) );
  19.         endwhile;
  20.         else : ?>
  21.                 <h2><?php _e( 'Not Found', 'volt' ); ?></h2>
  22.                 <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'volt' ); ?></p>
  23.             <?php endif;?>
  24.     </div><!-- .content -->
  25. <?php get_sidebar('a'); ?>
  26.     </div><!-- .primary_wrap -->
  27. </div><!-- .primary -->
  28. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement