• I am creating multiple themes for a single WordPress installation. I would like to share some files between all of the themes (eg. functions.php). Is there some way to do this, or do I need to create multiple copies of these files?

Viewing 1 replies (of 1 total)
  • A way you could do that is to have the shared functions in a file in a location central to the whole installation, and use a PHP include statement in each theme’s functions.php file to bring in those shared functions.

Viewing 1 replies (of 1 total)

The topic ‘Sharing files between themes’ is closed to new replies.