Viewing 2 replies - 1 through 2 (of 2 total)
  • Avenir

    (@avenir)

    To be pedantic, TEMPLATEPATH is a PHP constant, not a function. I believe that it is defined in wp-settings.php. The definition is around line 124. Change the get_template_directory() to an absolute path to whatever directory you want to use.

    I’m not sure if this will work, but it sounds OK to me.

    Thread Starter capxxx

    (@capxxx)

    I’ve tried renaming the get_template_directory() but its not working, it just gave a blank page. But I tried hunting the function
    get_template_directory() in functions.php “hopefully it’s called a function”, and it seems that it is linked to the function call get_theme_root () and get_theme_root_uri (). So i changed the ABSPATH and get_settings(‘siteurl’) called in this two function with my desired path and it’s almost work where it post the blog data (e.g comments ,words, pics, links) on the front page but not following the template itself. In the admin panel under the Presentations>Themes it posted all the themes i had in the folder but i cant select the themes. In the theme editor however give the right link to the file under browsing but it says “Oops, no such file exists! Double check the name and try again, merci.” So did i miss something here? Or did i miss a lot 😛

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Linking theme folder outside wp-content’ is closed to new replies.