ID, 'image_caption', 'true')!="") { $caption = get_post_meta($post->ID, 'image_caption', 'true'); $captionfinal = "

".get_post_meta($post->ID, 'image_caption', 'true')."

"; } else { $caption = ""; $captionfinal = ""; } if (get_post_meta($post->ID, 'left_image', 'true')!="") { $floatclass = "leftpic"; if (is_home()) { $origimgurl = get_post_meta($post->ID, 'left_image', 'true'); $imageurl = str_replace(".jpg", ".thumbnail.jpg", $origimgurl); } if (is_single()) { $imageurl = get_post_meta($post->ID, 'left_image', 'true'); } $result = "
\"".$caption."\"".$captionfinal."
"; echo $result; } elseif (get_post_meta($post->ID, 'right_image', 'true')!="") { $floatclass = "rightpic"; if (is_home()) { $origimgurl = get_post_meta($post->ID, 'right_image', 'true'); $imageurl = str_replace(".jpg", ".thumbnail.jpg", $origimgurl); } if (is_single()) { $imageurl = get_post_meta($post->ID, 'right_image', 'true'); } $result = "
\"".$caption."\"".$captionfinal."
"; echo $result; } ?>