WordPress.org

Ready to get started?Download WordPress

Forums

how to point to a new directory for templates? (4 posts)

  1. jayshiro
    Member
    Posted 7 years ago #

    hello!

    im having a problem with my implementation of wordpress in my end. i hava multiple sites that use wordpress and somehow these sites use the same template or theme or skin (whatever :D).

    now ,here's the problem. i'm planning to somehow create a universal folder for the theme that these sites will be using so as to save space because as i have said earlier, they share the same skin.

    i tweaked already the wp-settings.php. the part wherein the TEMPLATEPATH was defined. i changed it to my own wp-contents folder in another directory and deleted the original wp-contents of that site. the site works with all of the links and things BUT the template does not. the data is there but the skin is not. the page is just plain white with texts of posts and links all over...

    does anybody know how and what things to change when you are trying to access your themes files from another directory and the original themes files for that blog site is already deleted. also, i used the default theme :D

    please help

  2. Austin Matzko
    Member
    Posted 7 years ago #

    The problem is that there are images, CSS files, etc. associated with the theme. So for example your browser is going to request an image from your server at http://www.site.com/wp-content/themes/mytheme/images/pic.jpg and it will get nothing, because there's nothing in that directory (that directory doesn't even exist).

    So you need to set up your server, using perhaps symbolic links, so that it knows to serve images, CSS files, etc. from the right directory.

  3. Miroslav
    Member
    Posted 7 years ago #


  4. jayshiro
    Member
    Posted 7 years ago #

    yeah tnx :D

    but

    do you know what files to tackle and what to change in those files so as to have my wordpress point to a different theme directory???

Topic Closed

This topic has been closed to new replies.

About this Topic