How to create file path and print featured image in wordpress?

Use the below code:

$theme_path =esc_url( get_template_directory_uri()); 
Call theme path as in header for accessing files
<?php print $theme_path; ?>
Call the featured image using php:
<?php print get_the_post_thumbnail_url(); ?>

Related Post


Latest Post


Recent Posts Widget

Make sure to never miss a thing...

Get the latest news from the creative industry along with other creative goodies, conveniently delivered to social media.