protected function content($atts, $content = null)
 {
     $this->content_has_container = false;
     extract(shortcode_atts(array('title' => '', 'featured_post' => '', 'alignment' => 'left', 'el_class' => '', 'css_animation' => '', 'css' => '', 'css_extra_class' => ''), $atts));
     // Alignments
     $align_class = 'pull-' . $alignment;
     $text_align_class = 'text-' . $alignment;
     // Links
     $a_start = "<a href='" . get_permalink($featured_post) . "' />";
     $a_end = "</a>";
     // Build the CSS
     $css_class = $this->build_outer_css($atts, $content);
     $css_class .= ' vc_align_' . $alignment;
     if ($alignment == 'left') {
         $align_class = 'ac-page-left-side';
         $img_align = 'ac-page-right-side';
     } else {
         $align_class = 'ac-page-right-side';
         $img_align = 'ac-page-left-side';
     }
     // Build the text
     $text = "<div class='text {$align_class} col-sm-6 ac-center-vertically'>";
     $text .= $a_start;
     $text .= "<h2>" . __(get_the_title($featured_post), 'alleycat') . "</h2>";
     $text .= "<p class='ac-body-color-a'>" . __(ac_get_excerpt($featured_post, false, false, false), 'alleycat') . "</p>";
     $text .= $a_end;
     $text .= "</div>";
     // Build the image
     // Get the featured image id
     $image_id = get_post_thumbnail_id($featured_post);
     $image = "<div class='image {$img_align} col-sm-6'>";
     $image .= $a_start . ac_render_image_for_columns(array('image_id' => $image_id, 'columns' => 6, 'use_placeholder' => true)) . $a_end;
     $image .= "</div>";
     // Extra CSS
     $css_class .= ' ' . $css_extra_class . ' ';
     // Build the output
     $output = '';
     $output .= "\n\t" . '<div class="' . esc_attr($css_class) . '" >';
     $output .= "\n\t" . $this->get_title($title);
     $output .= "\n\t\t" . '<div class="wpb_wrapper">';
     $output .= "\n\t\t\t" . $image . $text;
     $output .= "\n\t\t" . '</div> ' . $this->endBlockComment('.wpb_wrapper');
     $output .= "\n\t" . '</div> ' . $this->endBlockComment('.ac_image');
     return $output;
 }
while (have_posts()) {
    the_post();
    ?>
  <article <?php 
    post_class();
    ?>
>

    <div class="entry-content row">
    
      <section class='side-meta col-xs-12 col-sm-<?php 
    echo $aside_cols;
    ?>
 ac-page-right-side'>
				<?php 
    echo ac_render_image_for_columns(array('image_id' => get_post_thumbnail_id(), 'columns' => $aside_cols));
    ?>
      	<?php 
    get_template_part('templates/page-side-meta', 'person');
    ?>
			</section>          

      <div class='col-sm-8 ac-page-left-side'>
      	<?php 
    $position = ac_get_meta('position');
    if ($position) {
        ?>
					<h2 class="position"><?php 
        echo $position;
        ?>
</h2> <?php 
    } else {
        // Images
        $images = ac_get_images_for_post(get_the_ID(), ac_get_meta('include_featured_image'));
        if (count($images)) {
            ?>
 <div class='post-images'> <?php 
            foreach ($images as $image_id) {
                $a_start = '';
                $a_end = '';
                if ($lightbox_images) {
                    $img = ac_resize_image_for_columns(array('image_id' => $image_id, 'columns' => 12, 'ratio' => AC_IMAGE_RATIO_PRESERVE));
                    $a_start = '<a class="prettyphoto" href="' . esc_url($img['url']) . '" rel="prettyPhoto[rel-' . ac_get_prettyphoto_rel() . ']"><div>';
                    $a_end = '</div></a>';
                }
                echo $a_start;
                echo ac_render_image_for_columns(array('image_id' => $image_id, 'columns' => 7, 'ratio' => AC_IMAGE_RATIO_PRESERVE));
                echo $a_end;
            }
            ?>
 </div> <?php 
        }
    }
    ?>
	    	
		    <div class='article-footer'>
					<?php 
    ac_social_sharing();
    ?>
    
					<?php 
    get_template_part('templates/post-bottom-nav', 'ac_portfolio');
if ($image_id) {
    ?>
		<div class='quote-image-wrapper'>
		  <div class='quote-image'>
				<?php 
    if ($author_url) {
        ?>
<a href="<?php 
        echo esc_url($author_url);
        ?>
" target="_blank"><?php 
    }
    ?>
							  
			  <?php 
    echo ac_render_image_for_columns(array('image_id' => $image_id, 'columns' => '4', 'class' => $img_border_shape . ' ac-quote-image', 'ratio' => AC_IMAGE_RATIO_SQUARE));
    ?>
				<?php 
    if ($author_url) {
        ?>
</a><?php 
    }
    ?>
				  
			  
				<?php 
    // Image caption
    ?>
				<?php 
    if ($image_caption) {
        ?>