// Add External Link to Featured Image with Custom Field add_filter('post_thumbnail_html','add_external_link_on_page_post_thumbnail',10); function add_external_link_on_page_post_thumbnail( $html ) { if( is_singular() ) { global $post; $name = get_post_meta($post->ID, 'ExternalUrl', true); if( $name ) { $html = '' . $html . ''; } } return $html; } Community Archives - Page 2 of 2 - People & Transformational HR
Explore