Page Template breaks images links?
-
Hey!
I have a folder IMAGES inside my custom theme folder.
All the HTML code is pointing to the images correctly, so the HOME page
show everything fine.Now, I need to add the other HTML static pages,
so I just create a new page template, but now the new PAGE does not find the images folder because its pointing to the images folder but with the name of the page first.So, as this example:
Home page:
http://mydomain.com
is getting the images in the /wp-content/themes/mytheme/imagesNew Template page
http://mydomain.com/pagename
is trying to get the images at pagename/wp-content/themes/mytheme/imagesOf course that breaks the link,
so how to solve this issue? how to make all the new pages get the images from the
theme root folder?Thanks for the help!
The topic ‘Page Template breaks images links?’ is closed to new replies.