Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
dotConnect for Dynamics CRM 1.7
Entity Developer 6.3
ODBC Driver for BigCommerce 1.4
dbForge Documenter for Oracle 1.0
dbForge Data Generator for Oracle 2.0
Odoo MobiCraft Theme 1.0
AnyChart JS Charts and Dashboards 8.4.0
IP2Location Geolocation Database October.2018
AnyGantt JS Gantt Charts 8.4.0
dbForge Data Compare for PostgreSQL 3.1
Paste phpSoftPro 1.4.1
Bytescout PDF SDK 1.8.1.243
Odoo Crafito Theme 1.0
Uber Clone- Taxi Booking App 4.1
Excel Add-in for BigCommerce 1.7
Top Code
Online Vacation Rental Booking Website Script 4.3.0
Travel Booking script 1.0.4
Ticket Booking System 1.0
JadaSite e-commerce solution 2.03
Traveling Salesman Problem (TSP) using Simulated Annealing 1.0
TIC TAC TOE AI GAME Script 1.1
PHP Point of sale 10.0
image compression using wavelet transform 1.0
Hysteresis Thresholding 1.0
Ping Pong Game Code Script 1.1
IDCMS Inventory 0.3
Java Source Object Model 1.0
Sports Club Management 6.x-1.x-dev
Aspose.Words for Java 13.3.0.0
PHP MLM Software 2.0.1
Top Rated
Output Messenger 1.8.0
Aliexpress Clone- Ec21 Script 1
Indiegogo Clone 3.0
Advanced MLM Software 1.2
Online Food Ordeing System 1.0
PHP Image Resize Script 1.0
Best Spotify Clone 1.0
Get Random Record Based on Weight 1.0.0
PHP Point of sale 10.0
Travel Portal Script 9.29
Excel Add-in for Bigcommerce 1.6
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
B2Template 1.0
File ID: 95975






B2Template 1.0
Download B2Template 1.0http://wordpress.orgReport Error Link
License: Freeware
File Size: 10.0 KB
Downloads: 0
Submit Rating:
B2Template 1.0 Description
Description: It seems like only yesterday, I set out to build my first ever WordPress Plug-in. Bright eyed and bushy tailed, I poured over the WordPress Codex, putting together the pieces of the process until I finally got the big picture. The WordPress Codex is an amazing resource for anyone looking to get into WordPress development; I strongly recommend any new developer read through the "Writing a Plugin" section.

While learning, I had a difficult time finding a straightforward template I could use as a base for my plug-ins. I wanted something that was clean and well-organized but also provided examples of more complex behaviours, such as: Internationalization, Widgets and Front and Back-End Ajax. I wanted to ensure my plug-in functionality was encapsulated inside a class structure so my functions and variables wouldn't conflict with the WordPress Core, or other plug-ins.

I've finally gotten around to writing this template plug-in, and I thought I would share it with the community to get your feedback and improvements, and hopefully save new developers some time.

Installation :

1. Download the template plug-in.
2. Place the files in the plug-ins directory of your development installation of WordPress.
3. Come up with a unique name for your plug-in, such as MyPlugin. Check the 4. WordPress Plug-in directory to ensure this name hasn't been used.
4. Rename the plug-in folder from B2Template to your plug-in name (i.e. MyPlugin). Do not use spaces or special characters.
5. Rename the file B2Template.php to MyPlugin.php
6. Rename the file B2Template.class.php to MyPlugin.class.php
7. Rename the class inside MyPlugin.class.php from B2Template to MyPlugin
8. Rename the constructor function inside MyPlugin.class.php from B2Template() to MyPlugin()
9. Activate the plugin from the WordPress Plugin Administration Panel
10. Add the Template widget to your sidebar from the WordPress Appearance Administration Panel
11. View your site, and interact with the widget to observe it's behaviour
12. From the WordPress Administration page, click on Settings, and select MyPlugin.
13. Interact with the plugin from this page, to view its behaviour.

License: Freeware

Related: Wordpress, Plugin, myplugin, Rename, inside, Template, mypluginclassphp, Administration, wanted, Plugins, behaviour, ensure, Panel, Directory, Development, Widget, Class, codex

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 0



User Review for B2Template
- required fields
     

Please enter text on the image