1

Is it possible to share a template file between WordPress themes? If so, where should I locate it? I didn't even manage to share a simple myfunctions.php file between theme templates. I tried putting the file in the wp-content/themes folder, but the include('../myfunctions.php'); fails to find the file. Am I overlooking something really simple that prevents this? Thanks.

1 Answer 1

1

AFAIK you can't "share files" between templates. You are looking for plugin functionality. However, if there is a WordPress specific way for doing this I would like to know too.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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