Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am making a child theme in the .../wp-content/themes/ folder however the parent theme that I am building on is in the .../wp-content/plugins/ directory. I am able to import the parent style.css file using a directory path but when I try to do the same for the Template value, it does not work. Similarly, the simple name of the parent theme folder does not work either, presumably because the parent theme is in a different directory.

Any ideas on how to fix this?

share|improve this question
    
It was an issue of versioning, where the site needed to be refreshed again after saving the child style.css file. The solution was to include the Template value like any other child theme and adjust the import command using a full path instead of a relative ".../" preceding the parent style.css –  Mike Stumpf Jul 18 '13 at 14:49
add comment

1 Answer

up vote 0 down vote accepted

If the parent theme's non-standard location was correctly added with register_theme_directory, and I am pretty sure it must have been, then functions like get_stylesheet_directory_uri and get_template_directory_uri should work.

Reference

http://codex.wordpress.org/Determining_Plugin_and_Content_Directories#Themes

share|improve this answer
    
Thank you for your help! –  Mike Stumpf Jul 18 '13 at 19:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.