Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (is_home()) { ?>
- <div id="home_left">
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <?php the_content(); ?>
- <?php endwhile; else: ?>
- <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
- <?php endif; ?>
- </div>
- <div id="home_right">
- <?php $cf = get_post_meta($post->ID, 'Right Side', true);
- if (!empty($cf)) {
- echo $cf;
- }
- ?>
- </div>
- <?php } else { ?>
- <div id="blurb">
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <?php the_title('<h2>', '</h2>'); ?>
- <?php the_content(); ?>
- <?php endwhile; else: ?>
- <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
- <?php endif; ?>
- </div>
- <?php } ?>
Add Comment
Please, Sign In to add comment