ID);
$cf_disablemeta = esc_attr(klasik_get_metabox('klasik_disable_meta'));
}
$cf_thumb = (isset($custom["klasik_thumb"][0]))? $custom["klasik_thumb"][0] : "";
$pregaud = preg_match_all('/(\
)/is', get_the_content(), $audios);
$pregash = preg_match_all('/(\[audio.*\[\/audio\])/is', get_the_content(), $ashorts);
$pregemb = preg_match_all('/(\[embed.*\[\/embed\])/is', get_the_content(), $embeds);
$audio = isset($audios[1][0])? $audios[1][0] : "";
$ashort = isset($ashorts[1][0])? $ashorts[1][0] : "";
$embed = isset($embeds[1][0])? $embeds[1][0] : "";
$media = "";
if(!empty($ashort)){
$media = $ashort;
}elseif(!empty($embed)){
global $wp_embed;
$media = $wp_embed->run_shortcode($embed);
}elseif(!empty($audio)){
$media = $audio;
}
$mediahtml = '';
if(!empty($media)){
$mediahtml = ''.$media.'
';
}
?>