I am wondering if there is a way in WordPress to have my theme always use the root of the theme and not the WP directory.
For instance every time I hard code an image in my theme I want to use:
< img src=” images / logo.png” />
That will look in the images folder at the root of the WordPress directory and I want it to use my theme directory.
Instead I have to use:
< img src=” <?php echo get template directory_uri( ); ? > /images/logo. png” />
Is there anyway to do this?
P.S. sorry about the weird spacing, WordPress thought I was putting code in there.