As WordPress developer at SimpleMediaCode.com I came to point where I have to decide: make some functions as WordPress theme features or make them more optional and theme independent as WordPress plugins.
WordPress plugin coding
If I create plugin for WordPress theme, I am hardening that, so that this function will make sure, that futures are theme independent, if for some reason someone would like to change WordPress theme. In this case, if function is displaying content for private reading (for membership pages), it will still available in other themes as well.
Pluses by developing WordPress plugin:
- WordPress theme theme independent,
- cross theme usage,
- more freedom to turn on and off.
- harder to implement in theme
WordPress theme feature coding
But if You are using only one theme for site (custom design for site), I’m sure You can make functions as features for WordPress theme. This is good for specific placement of information, like sidebars or footer information.
WP theme feature pluses:
- good support of WordPress theme hacks and hooks,
- compatible with WordPress theme.
- sometimes theme administrations panel can come with too much options
So, before creating WordPress theme options page, think about plugin replacements!
There are many more pros and cons… What’s Yours?