WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

B2Template

This is a template plugin to help you start writing your own WordPress plugins. It demonstrated AJAX, saving variables, updating a database, internati

To use this plugin template, add it to your WordPress plugins directory and activate it from the Plugins page. Then take a quick moment to see how the plugin works. There are three components to the plugin that you should try out before you start looking at the code.

  1. First, go to the visitor facing side of your website. You'll notice a "Fact Check" form at the bottom of each post. This bit is intended to demonstrate AJAX form submission from the visitor facing pages.
  2. Next, go to the admin side of the website. Under the Settings tab, click B2 Template Plugin. This bit shows how to save plugin settings the normal way, how to save data using AJAX from the admin pages, and also demonstrates how internationalization works.
  3. Finally, go to the Widgets page under the Appearance tab. Here you'll see a Widget called B2 Template Widget. Drag this into one of your sidebars and experiment with the different settings. Then go to the visitor facing pages of your website and have a look at how this widget works.

Once you've examined these parts of the Plugin, open up the file B2Template.php and begin reading through the well commented code. If you have any questions please visit our blog at http://bloggingsquared.com or contact the developer directly by emailing dan.imbrogno@brolly.ca.

I hope this helps you on your way to becoming a WordPress plugin guru!

Blogging Squared provides high quality custom WordPress themes and plugins for individuals and businesses at competitive rates. Contact us at info@bloggingsquared.com to request a quote.

Requires: 2.8 or higher
Compatible up to: 3.1.4
Last Updated: 2011-3-17
Downloads: 2,208

Ratings

4 stars
4.9 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,3,0
100,1,1
100,1,1