How to add a relative path to the themes folder?
Permalink
I have used path like this within my html content:
I am now going to create a new theme "mytheme2". I will be copying across all the images from mytheme1 to mytheme2. But my content is still pointing to /images folder within "mytheme1". I will have to update the database by running MySQL's update query to replace every instance of the link to the new theme path.
Is there a relative path to the themes folder that I can use so that if I happen to create another theme in the future, I won't have to update the database entries again?
<img src="/themes/mytheme1/images/pic01.jpg" />
I am now going to create a new theme "mytheme2". I will be copying across all the images from mytheme1 to mytheme2. But my content is still pointing to /images folder within "mytheme1". I will have to update the database by running MySQL's update query to replace every instance of the link to the new theme path.
Is there a relative path to the themes folder that I can use so that if I happen to create another theme in the future, I won't have to update the database entries again?
http://www.weblicating.com/c5/cheat-sheet/...