style.css and images folder – where should they go?
-
The location for my stylesheet and images folder is:
/public_html/wp-content/themes/my-wp-theme/
But if I have other, non-wp pages on my site, I will want ANOTHER stylesheet and images folder for the non-wp stuff, such as:
/public_html/images
and
/public_html/my-style.css
The problem is this kind of redundancy (two stylesheets, two images folders) is generally a bad idea.
Would it not be better to consolidate into ONE stylesheet and ONE images folder? After all, my non-wp pages share most of the style directives and images in my-wp-theme.
The challenge is that WordPress has various bits of code that uses the default location (my-wp-theme folder) when referencing the stylesheet and images.
The question is this:
Do I (a) point my non-wp pages to the stylesheet and images folder in my-wp-theme folder, or (b) hack
wp-includes/functions.php
so all my WordPress content references a centralized stylesheet and images folder in my site’s root directory?If I could discover the right hack, I think I’d like to go with (b).
Other suggestions?
- The topic ‘style.css and images folder – where should they go?’ is closed to new replies.