tags:

views:

52

answers:

2

Regarding Wordpress: Is it best practice to distribute a functions.php file (to be stuck in a WP theme) filled with helpful functions, or distribute a plugin for wordpress that enables these functions anywhere?

+2  A: 

it depends. It depends on how coupled those functions are with the theme itself. If the functions are only useful for that theme, or you don't plan on making a lot of themes, just leave them in the functions.php file. If the functions are more general, and you could see yourself or someone else wanting to use them in other themes, you may want to make them a plugin.

GSto
A: 

Some basic ideas about the use of functions.php files in Theme Development at WP.

songdogtech