• is it possible to move a theme from outside the /wp-content/themes folder to someplace else like /templates?

Viewing 1 replies (of 1 total)
  • You can if you are using 2.9.

    Introduce register_theme_directory() which takes a wp-content-relative path and will additionally scan it for themes. Plugins can use this to add themes without requiring copying by the user

    The function is sparsely documented as yet and I haven’t tried using it, but it looks simple enough. Feed the function a full filesystem path or a path relative to wp-contents.

    If you have enough authorita on the server you can also do it with symlinks.

Viewing 1 replies (of 1 total)
  • The topic ‘Changing Theme Location’ is closed to new replies.