get images directory wordpress php code example Example: get image from theme folder wordpress <img src="/wp-content/themes/your-theme/assets/images/1.jpg" />