Home About Contact Podcasts Presentations WordPress Consulting Quick Reference Guides What I'm Reading

WordPress Plugins: Take Your Blog’s Functionality To a New Level

April 17th, 2007 | Posted in Blogging, WordPress 33 Comments »

WordPress plugins are scripts you install to extend the functionality of your WordPress blog. For example, one common plugin is Subscribe to Comments. When added, it allows readers to keep track of responses to their comments. When someone responds to a reader’s comment, the reader receives an e-mail. WordPress doesn’t ship with this feature already included — you must install it via a plugin.

The process of discovering new plugins — and suddenly transforming your blog into something more — can be exciting (but also sometimes unclimactic).

Rationale Behind Plugins

Plugin ManagementSome blogging platforms already come equipped with the same functionality as some of WordPress’s plugins. You may think having to manually add plugins is a pain. Why not just include them all in the core product?

Yet this is the very genius of WordPress. The absence of plugins keeps the basic WordPress software simple. Users who need additional functionality can add it. WordPress doesn’t burden you with tons of features and options you don’t need. WordPress remains simple — yet extensible — through the plugin model.

Plugins Are Open Source Contributions

Ninety-five percent of WordPress plugins aren’t made by the WordPress team (Automattic). They’re made by PHP blogging enthusiasts across the globe. WordPress is open source, so programmers can contribute their own additional functionality. Plugins are popping up all the time (on average 3-4 new plugins a week).

The fact that plugins are open source also means some plugins are a little buggy. Not everyone is a PHP whiz, and WordPress changes pretty quickly, so at times plugins may not work. Glancing at the popularity of a plugin prior to installing it will give you an idea of its trustworthiness.

What Does PHP Mean?

Most plugins are PHP scripts that make calls to your database for specific content. PHP stands for Hypertext Preprocessor (you don’t need to know that). PHP is an open-source server-side scripting language that interacts with your database. PHP allows you to provide dynamic web content that can be pretty cool (samples coming in a minute).

PHP tags exist alongside HTML tags in the theme files you edit, but when your pages are published, you won’t see the PHP in the code because it’s server-side rather than client-side.

To see a variety of definitions of PHP, google it like this: define:php. Here’s the best part: You don’t have to know any PHP to use plugins. (But if you do, you’ll be better off in the long run.)

A Centralized Plugin Directory

Recently WordPress announced a centralized plugin directory. This central location provides popularity stats and download statistics for plugins — two easy ways to browse the directory. You can look at the latest plugins and see if any look useful.

You can also find plugins by googling “wordpress plugins” and perusing the search results. A lot of bloggers make lists of their favorite plugins. You can see the plugins on my site here: http://idratherbewriting.com/plugins. The ability to automatically display my plugins from my plugins folder is itself a plugin. I also included images with most of the plugins so you can see just what the plugin does.

Installing Plugins

Installing plugins is similar to installing themes. You download the plugin, unzip it, and then upload the file into your wp-content/plugins directory. Then you navigate to your Plugins tab and activate the plugin. Most plugins have further customization options on the Options tab. If you’re PHP savvy, you can also edit the plugin’s code by clicking the Plugin Editor subtab.

For a screen demo of how to install a plugin, see this video prepared by Andre Chaperon, who explains how to install the google site maps generator plugin.

Each plugin has its own instructions, so be sure to check the author’s site or plugin page and follow them.

Installing Plugins: What Authors Assume You Know

Most plugins are written by hobby programming enthusiasts. They’re not technical writers, and often assume the user knows more than he or she does. Here are three things author sometimes forget to mention:

1. You must add PHP tags around tags. Some plugins come with a bit of code you have to insert in a specific file. If an author says the plugin is called using related_posts() – actually that tag won’t call the plugin. You have to surround that tag with php tags, like this:

code

The exception is if the tag already appears between other php tags.

Why do some authors omit the php tags? If the authors added these surrounding php tags in their explanations, the code would corrupt their page’s display, so some authors assume you realize the code must be surrounded by php tags. In contrast, some authors have code formatting plugins that enables them to show code.

2. PHP code won’t run in posts or pages. PHP code will only run in your theme’s core files (such as sidebar.php, page.php, or index.php). You can edit these files by going to Presentations > Theme Editor location and adding the script, or by downloading the files and working with them in Notepad or Notepad++. If you just drop PHP tags in a post or page, it won’t work.

However, you can create a new page template (from page.php), drop in the PHP code, and then create a new page based on the template with the new PHP code. When you do that, it gives the effect of a page running PHP calls. It’s easier than it sounds. For more info, see Pages in the Codex.

3. PHP exec. widget is required to run PHP in widgets. Another assumption is that you can just include php tags in your widgetized sidebar. If you want to install plugin code in a widget, you need an Exec-PHP widget to enable PHP scripts to run in the widget. (If you are manually editing your sidebar.php file, you can just insert PHP in there without any additional plugins.)

Editing PHP

Sometimes you must edit a PHP file. If editing in the Presentation > Theme editor isn’t adequate, you can edit PHP files in Notepad, or you can use a more advanced text editor, such as Notepad++ (the Codex recommends at least a dozen different ones). Notepad++ provides line numbers for the PHP files. This is sometimes helpful when you’re editing the plugin.

A Lot of Plugins Don’t Work

You may find that plugins are often hit and miss. Some work awesomely. And some don’t seem to work at all, or the plugin is so vaguely described that it isn’t clear just what the plugin does (or how it’s implemented).
Some plugins aren’t compatible with the latest version of WordPress, so make sure the plugin is compatible before you install. Then test the plugin after it’s installed. Other plugins may seem to work, but then prove buggy.

For example, I installed the MiniPost2 plugin to create asides (little announcements in the sidebar). I was excited about how easy the plugin was to use. Then today I searched for something with my site’s search engine, and I noticed my posts were duplicated 2-3 times each in the search results. Huh? To troubleshoot, I started disabling the plugins one by one. When I deactivated MiniPost2, the problem disappeared.

If you want to remove a plugin, remove any code you manually inserted, and then deactivate it from your plugin page. Then use FTP to delete it from your wp-content/plugins directory.

Note: If you leave php calls inside theme files after removing or deactivating the plugin, you’ll see an error message.

Implementation Is Often Unique

Before implementing any plugin, be sure to read the author’s instructions carefully. If you need help (like if it says to CHMOD a file and you have no idea what that means), visit http://wordpress.org/support and ask for help.

Update: Recently a plugin was released — called One-Click Install — that allows one-click installation of plugins from a Firefox browser. Read my post on it here.

Plugins Useful for CMS Functions

Here are a few plugins you may want to use when building a CMS type blo.g

Additional Resources

To learn more about plugins, see the Codex entry on Plugins and Managing Plugins.

Featured Information
Among the prominent online businesses one can find the trading of expired domains another outstanding online business. People or companies purchase domain which is expired for some while and after renewal sell them at reasonable rates. The business of search engine marketing is another flourishing business while one can consider the business of internet marketing promotion the best online business as well. Internet is the best sources of information regarding any business of topic such as Microsoft certification or if some one is searching about tape backup.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • StumbleUpon
  • Facebook
  • LinkedIn
  • TwitThis

RSS Subscribe


Related Posts

Tags: ,


Comments

You can leave a response, or trackback from your own site.

33 Responses to “WordPress Plugins: Take Your Blog’s Functionality To a New Level”

  1. es porque creo que su trabajo le puede ser muy útil a los nuevos blogueros. El es un escritor técnico y podcaster y tiene muchas cosas buenas que decir acerca de WordPress. Ha escrito sobre temas (sobre el cual fue basado el visor de temas),pluginsy otros tips variados de Wordpress y de herramientas de blogueo.

  2. We were using the Subscribe to Comments plugin for a while until we found that various spam bots were flooding the form with email addresses from hotmail and yahoo, etc. It seems they would subscribe as many addresses as they could and then try to post some spam, which would then be sent to everyone they had subscribed!

    Our eventual workaround was to only allow people to subscribe to comments if they posted a comment themselves AND it cleared the spam filter – not ideal, but it seems to work.

    Anyone else run into this problem? Tom, I notice you’ve still got the “Subscribe without commenting” field turned on, any random emails showing up from bots?

  3. Tom says:

    I was using a different contact form for a while, which supposedly included a math challenge question. However, the math question wasn’t showing up, so I switched.

    I know there are a handful of contact form plugins. I haven’t experienced the spamming you described, but I have heard about it from others.

    Have you tried a contact form with spam protection, like this one: WordPress Contact form with Spam Protection?

    Even if you just include an email address, that’s better than nothing.

    What other plugins do you use?

  4. [...] WordPress Plugins: Take Your Blog’s Functionality To a New Level [...]

  5. [...] to say on and about Wordpress. He has written on themes (on which the theme viewer was based), plugins and various other Wordpress and blogging tips and tools. Sphere: Related Content (No Ratings Yet) [...]

  6. Brian says:

    FYI, the link to your plugins repository has a typo and doesn’t work. It links to http://idratherbewriting.com/plugin which is missing the trailing “s”.

    Despite my pessimism posted elsewhere I really like this feature. I might just add it to my blog.

  7. Tom says:

    Thanks for letting me know about the typo. I fixed it.

  8. [...] WordPress Plugins: Take Your Blog’s Functionality To a New Level | I’d Rather Be Writing [...]

  9. David Hill says:

    Best Penis Enlargement Methods. Guide to Choose a Penis Enlargement Product. Advices for Men Who want to Make a Penis Size Larger.

  10. Hi Tom -

    Great blog and post. Glad I found it (Googled you) — will be subscribing.

    I enjoyed the list of plugins at the end of your article. Found a couple I didn’t know about. Have used ShiftThis Newsletter and wrote a comparison of it to a close competitor (also paid):
    http://webhelpermagazine.com/2007/10/testing-wordpress-newsletters/

    Finally… you may want to drop by, vote, comment on the plugin list at WebMaster-Talk.com (I started the thread with 10 favorites):
    http://www.webmaster-talk.com/blogging-forum/112970-wordpress-plugins-you-have-to-love.html

    Yours, Scott

  11. Tom says:

    Scott, thanks for the list of plugins. Re the Shift This Newsletter plugin, I found it problematic. It was hard to style, and it didn’t seem to entirely function. When I attempted to send it to 200+ subscribers, it froze up. I don’t recommend it. Support was poor, too. I kind of gave up on newsletters, but I acknowledge that they work well to help people stay aware of posts they’ve missed. Constant Contact is a more robust newsletter, but it’s not integrated with Wordpress.

  12. Hi Tom -

    I did a comparison of Shift This to WordPress Mailing list (see: http://tribulant.com/products/view/1/wordpress-mailing-list.html)… and I like the second one much better… so next time you’re looking for a newsletter, you might try it.

    Scott

  13. Hi,
    I’m really new to blogging and was just wondering is Wordpress the best option for blogging? Currently I’m using Blogger, and have not tried anything else as yet as I didn’t want to get into the trap of having 20 to 30 different sites or programs I use and not have a single blog worth reading.

  14. Tom says:

    It depends what you want. If you are a little familiar with HTML and CSS, and want control over the design and display of your blog, use Wordpress (from wordpress.org). If you never want to deal with code, use Wordpress.com or Blogger. Also, if you are unable to pay for web hosting, you’ll need something like Wordpress.com or Blogger. My recommendation is Wordpress.com because you can always export the posts into Wordpress.org if you later decide to go that route.

  15. gzyqH says:

    Please Review This Site, You’ll Like It
    [LINK= http://freeaza.110mb.com/ ]lorazepam wikipedia the free encyclopedia[/LINK] lorazepam wikipedia the free encyclopedia

  16. NjNcg says:

    Just Stopped by to say hi, Thanks
    [LINK= http://freeazx.110mb.com/ ]free wav to mp3 converter[/LINK] free wav to mp3 converter

  17. EcGbb says:

    You Really Have To Check This OneYou Might Like This Site, Check it,

  18. pfPZz says:

    Brilliant work guys, nicely doneI Enjoyed It Very Much, call free italy mobile, call free italy mobile, 8-(,

  19. XhUUJ says:

    Check it, thanks guys, calling free skype, calling free skype, ldmhl,

  20. OiyJL says:

    Ive Been Looking At THis Site, cam chatting free nude web, cam chatting free nude web, hbfki,

  21. ejNwj says:

    Check it, thanks guys, cam free people view, cam free people view, 338003,

  22. Mark says:

    The fact that plugins are open source also means some plugins are a lame.

  23. audio files says:

    Looking for a sound clip on the net but can\’t find it anywhere? Check out the http://www.YourListen.com , your new #1 source for everything audio.

  24. AlanGTR says:

    This wordpress plugin is so far one of the best i read.
    Due to me begin new…I find it very useful…

    Thanks

  25. Trader says:

    Hi

    Your information is very informative. I thank alot of the guide.

    cheers

  26. affiliate.solutions says:

    Very nice information. Check out my blog, I just posted a great blog about the 36 Best Wordpress plugins for 2009.

  27. [...] WordPress Plugins Take Your Blog Functionality To a New Level Posted by root 2 hours 14 minutes ago (http://www.idratherbewriting.com) Apr 17 2007 when someone responds to a reader comment the reader receives an e mail php stands for hypertext preprocessor you don 39 t need to know that http www idratherbewriting com 2007 04 17 wordpress plugins extending 2008 i 39 d rather be writing po Discuss  |  Bury |  News | WordPress Plugins Take Your Blog Functionality To a New Level [...]

  28. There must be more to this story….

Leave a Reply

« Previous Post Next Post »