Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: Page - Right Sidebar A
- */
- /* Fetch admin options. */
- global $options;
- foreach ($options as $value) {
- if(isset($value['id']) && isset ($value['std']))
- if (get_option( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_option( $value['id'] );}
- }
- get_header(); ?>
- <div class="content_medium">
- <?php get_template_part( 'featured' );
- if (have_posts()) :
- while (have_posts()) : the_post(); ?>
- <?php the_content( __( 'More →', 'volt' ) );
- wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'volt' ), 'after' => '</div>' ) );
- endwhile;
- else : ?>
- <h2><?php _e( 'Not Found', 'volt' ); ?></h2>
- <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'volt' ); ?></p>
- <?php endif;?>
- </div><!-- .content -->
- <?php get_sidebar('a'); ?>
- </div><!-- .primary_wrap -->
- </div><!-- .primary -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement