WordPress theme feature vs. WordPress plugin. What is best choice?

Coding web page,Social network applications and plugins | Rolands Umbrovskis | June 7, 2010 3:20 pm 89 views | No Comments »

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.

Minus(es):

  • 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.

Minus(es):

  • 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?

Related Posts

Final cut for my first WordPress plugin
Final cut for my first WordPress plugin

More than one month ago I published my first WordPress plugin "Draugiem.lv/lapas fan page" for social network in Latvia draugiem.lv (FRYPE.COM)....

Writing first public WordPress Plugin (widget)
Writing first public WordPress Plugin (widget)

Today was first release of  "Draugiem.lv/lapas Fan page" (for non-Latvian draugiem.lv best known as Frype.com) WordPress sidebar widget for FRYPE...

Remove index.html and/or index.php from the URL
Remove index.html and/or index.php from the URL

Inspired by my discussion with Kaspars on his homepage konstruktors.com how to better remove index file. So I'll post both versions, because they...

Removing WWW from URI (or domain) with PHP
Removing WWW from URI (or domain) with PHP

Few weeks ago I wrote how to remove WWW from domain with .htaccess. In some cases or hosting plans it's not possible to view or use .htaccess file...

How to add Google Buzz button to WordPress and Blogger
How to add Google Buzz button to WordPress and Blogger

Already some days are working Google Buzz. I made short search on Google for possibility to add Google Buzz button to Blogger template. As I...

 
 
draugiem.lv/say SekoMan.lv twitter Digg this! Add to del.icio.us! Stumble this! Add to Techorati! Share on Facebook! Seed Newsvine! Reddit! Add to Yahoo!

Rolands Umbrovskis

Web developer at "Simple Media Code" / Mediabox.lv

Follow Rolands Umbrovskis on Twitter or Facebook

0 Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Note: This post is over 3 months old.

 



bt bt bt bt
plugin by DynamicWP
#