How To: Optimize Your Theme for WordPress Plugins
Category: Themes and Tricks
- CSS We Are The Buzz




(5 out of 5) - Throw




(5 out of 5) - qmula




(5 out of 5) - Heartworker




(5 out of 5) - Decently Exposed




(5 out of 5) - Gmcosta




(5 out of 5) - FreelanceDaddy




(5 out of 5) - LifeStyle Web




(5 out of 5) - Tech Tunes




(5 out of 5) - DePo Masthead




(3 out of 5)
A couple of months ago I talked about some ways to adjust your WordPress plugin code to avoid having plugins break your blog. That post was designed to show people how to easily adjust the PHP setup for the calls for their plugins to not fail if the plugin is deactivated. I also think more theme authors should use that method to make their themes compatible with a variety of plugins out-of-the-box.
Along those same lines, there are some simple checks you can do to make sure that your theme has the best chance to be compatible with a plugin. The WordPress Expert recently posted some simple checks to verify that your WordPress theme is plugin-friendly. John recommends you verify your theme uses the following:
<?php wp_head(); ?>
<?php wp_meta(); ?>
<?php do_action(’comment_form’, $post->ID); ?>
<?php wp_footer(); ?>
If your theme isn’t, some plugins may not operate properly. Great post John!
—
Enjoy writing about WordPress? Get yourself more exposure by joining the Hack WordPress writing team!
Digg This Post! | Stumble This Post! | Add this Post to Del.icio.us | Google Bookmark This Post! | Netscape it! | No comment
Hack WordPress © 2008
—
Related Articles at Hack WordPress:
- Guide to Making a Successful WordPress Theme
- WordPress Plugin: Optimize Your Website With Gamer’s Pack
- Comprehensive List of WordPress Plugins
- How to Optimize Your WordPress Title
- Confirm WordPress 2.3 WordPress Plugin Compatibility Before Upgrading
- Must-Have Plugins For A Professional WordPress Blog
