function ro_theme_grab_ids_from_gallery()
 {
     global $post;
     $gallery = ro_theme_get_shortcode_from_content('gallery');
     $object = new stdClass();
     $object->columns = '3';
     $object->link = 'post';
     $object->ids = array();
     if ($gallery) {
         $object = ro_theme_extra_shortcode('gallery', $gallery, $object);
     }
     return $object;
 }
    the_post_thumbnail('full');
    ?>
		<?php 
}
?>
		<div class="wp-post-media">
            <?php 
if (!is_home()) {
    $video_source = get_post_meta(get_the_ID(), 'tb_post_video_source', true);
    if (empty($video_source)) {
        $video_source = 'post';
    }
    $video_height = get_post_meta(get_the_ID(), 'tb_post_video_height', true);
    switch ($video_source) {
        case 'post':
            $shortcode = ro_theme_get_shortcode_from_content('wpvideo');
            if ($shortcode) {
                echo do_shortcode('[wpvideo tFnqC9XQ w=680]');
            }
            break;
        case 'youtube':
            $video_youtube = get_post_meta(get_the_ID(), 'tb_post_video_youtube', true);
            if ($video_youtube) {
                echo do_shortcode('[tb-video height="' . $video_height . '"]' . $video_youtube . '[/tb-video]');
            }
            break;
        case 'vimeo':
            $video_vimeo = get_post_meta(get_the_ID(), 'tb_post_video_vimeo', true);
            if ($video_vimeo) {
                echo do_shortcode('[tb-video height="' . $video_height . '"]' . $video_vimeo . '[/tb-video]');
            }
>
	<div class="ro-blog-sub-article">
		<?php 
if (has_post_thumbnail() && $tb_post_show_post_image) {
    ?>
			<?php 
    the_post_thumbnail('full');
    ?>
		<?php 
}
?>
		<div class="wp-post-media">
			<?php 
if (!is_home()) {
    if ($audio_type == 'post') {
        $shortcode = ro_theme_get_shortcode_from_content('audio');
        if ($shortcode) {
            echo do_shortcode($shortcode);
        }
    } elseif ($audio_type == 'ogg' || $audio_type == 'mp3' || $audio_type == 'wav') {
        if ($audio_url) {
            echo do_shortcode('[audio ' . $audio_type . '="' . $audio_url . '"][/audio]');
        }
    }
}
?>
		</div>
		<?php 
if ($tb_post_show_post_title) {
    ?>
			<h5><?php