<?php $cb_post_id = $post->ID; $cb_comments_onoff = ot_get_option('cb_comments_onoff', 'on'); get_header(); echo cb_post_featured_image($cb_post_id); $cb_attachment = wp_get_attachment_image_src($cb_post_id, 'cb-800-550'); ?> <div id="main" class="clearfix cb-static" role="main"> <?php if (have_posts()) { while (have_posts()) { the_post(); ?> <article id="post-<?php the_ID(); ?> " <?php post_class('clearfix wrap cb-article-content'); ?> role="article" itemscope itemtype="http://schema.org/BlogPosting"> <section class="entry-content clearfix" itemprop="articleBody"> <img src="<?php echo $cb_attachment[0]; ?> " alt="<?php the_title(); ?>
<?php get_header(); $cb_page_id = get_the_ID(); $cb_featured_image_style = get_post_meta($cb_page_id, 'cb_featured_image_style', 'full-background'); $cb_page_comments = get_post_meta($cb_page_id, 'cb_page_comments', 'off'); echo cb_post_featured_image($cb_page_id, true); ?> <div id="main" class="clearfix" role="main"> <?php if (have_posts()) { while (have_posts()) { the_post(); ?> <article id="post-<?php the_ID(); ?> " <?php post_class('clearfix wrap cb-article-content'); ?> role="article" itemscope itemtype="http://schema.org/BlogPosting"> <section class="entry-content clearfix" itemprop="articleBody"> <?php the_content(); ?> <?php