I'm trying to create a local version on XAMPP of my company's WordPress website.
All well and good except for the theme images aren't loading. (CMS images are loading)
Looking at the image paths, I notice why they aren't loading. The root directory isn't there. It is;
This is the code I'm using for the theme images;
<span><?php the_title(); ?><img src="<?php echo get_template_directory_uri(); ?>/images/border-white.png" class="underline"></span>
I've also tried it with;
<?php bloginfo('template_directory'); ?>
but same outcome.
The strange thing is, this same template tag is sucessfully loading other resources like the scripts (from functions.php)