Answers for "get post thumbnail url by id wordpress"

PHP
2

get featured image url

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

wp+get feature image

<?php
	echo get_the_post_thumbnail( $post_id, 'thumbnail' );
?>
Posted by: Guest on November-28-2020

Code answers related to "get post thumbnail url by id wordpress"

Browse Popular Code Answers by Language