Answers for "the the featured image url"

PHP
2

get featured image url

echo get_the_post_thumbnail_url();
Posted by: Guest on June-29-2020
0

add featured image

function fn_add_featured(){
   add_theme_support( 'post-thumbnails' );
   add_image_size( 'post-imge', 730, 380 );
}

add_action('after_setup_theme','fn_add_featured');
Posted by: Guest on May-07-2020

Code answers related to "the the featured image url"

Browse Popular Code Answers by Language