if ( get_post_type( get_the_ID() ) == 'in-the-news' ) $media_type = get_post_meta($post->ID, 'mediatypeoptional', true); if($media_type == 'video'):$hosted_file_name = get_post_meta($post->ID, 'videofile', true);...
if ( get_post_type( get_the_ID() ) == 'in-the-news' ) $media_type = get_post_meta($post->ID, 'mediatypeoptional', true); if($media_type == 'video'):$hosted_file_name = get_post_meta($post->ID, 'videofile', true);...
WhatsApp us