Example #1
1
the_title();
?>
</h1>
			</header>
	
		<span class="thumb-single">
		<?php 
//		  echo '<a href="' . get_the_permalink() . '" title="' . esc_attr( get_the_title() ) . '">';
?>
			
			<?php 
if (has_post_thumbnail()) {
    $full_image_url = wp_get_attachment_image_src(get_post_thumbnail_id(), 'full');
    $content = '<a href="' . $full_image_url[0] . '" title="' . the_title_attribute('echo=0') . '">' . get_the_post_thumbnail($post_id, 'large') . '</a>';
    if (function_exists('slb_activate')) {
        $content = slb_activate($content);
    }
    echo $content;
}
?>
		
		<?php 
?>

		<?php 
?>
			
	</span>
	
	
			<?php 
        	<ul class="picture-list">
    		<?php 
    while (have_rows('picture_item')) {
        the_row();
        $caption = get_sub_field('picture_caption');
        $link = get_sub_field('picture_link');
        $content = '<li class="picture-item wbc-album-image-caption-container">
        		<a href="' . $link . '">
        			<img src="' . $link . '">
        			<p class="wbc-album-caption">' . $caption . '</p>
        		</a>
        			</li>';
        ?>

        	<?php 
        echo slb_activate($content);
        ?>

        	<?php 
    }
    ?>

        	</ul>
        </div>

    	<?php 
}
?>

		<?php 
if (have_posts()) {