I’m trying to change html5 to wordpress theme. When I edit my coding and want to call picture its doesnt show it.
I setup wordpress in my Laptop using Xampp.
<img src="assets/img/user.png" alt="Stanley">
I think the code above is correct.
Or I need to make anychange so I can call my image?
Anyone can help me?
You should move your images into your theme folder at
wp-content/themes/theme-name
and use:This will ensure your image
src
uses an absolute path instead of a relative path.