php - FTP Image displaying issue on wordpress site -
i have uploaded image folder in child theme on wordpress-images->homeimages->myimage.jpg
. when go mywebsiteexample.com/images/homeimages/myimage.jpg
, returns page not available , result cannot use relative path in img src call images.
you way like
mywebsiteexample.com/wp-content/themes/themefoldername/images/homeimages/myimage.jpg
for example use current active theme directory
you can call load image
<img src="<?php echo bloginfo('template_url');?>/images/homeimages/myimage.jpg"/>
hope may help
Comments
Post a Comment