Accessing images and folders outside of wordpress root
-
I am very new to WordPress, but not a newbie with the basics of html, css and php.
I looked for hours for an answer to my question, but could not find anything. Please excuse me if this is a redundant post.
I am designing a WordPress theme to match one of my current sites. I have placed the WordPress folder within that site. However, I would like to be able to access css files, php includes and images from outside of the WordPress folder. For some reason, it doesn’t work. I have tried both absolute and relative links, but no luck. However, when I copy and paste the php includes and css into my theme’s folder, it works fine.
I suppose I can live with that, even though it’s not ideal. However, the images are a bigger problem. Initially, I tried to access images outside of the wordpress folder, but just like the includes and css, it did not work. So, I moved my images into a new folder inside my wordpress theme folder, but the images still do not load in the browser.
Can you help me about with this? I would greatly appreciate it.
Thanks
- The topic ‘Accessing images and folders outside of wordpress root’ is closed to new replies.