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
.Net Runtime Library for Delphi 6.0.4.0
Scimbo 1.64
AnyMap JS Maps 8.4.2
GetOrgChart 2.5.3
AnyChart JS Charts and Dashboards 8.4.2
OrgChart JS 3.8.0
dbForge Compare Bundle for MySQL 8.1
dbForge Search for SQL Server 2.3
Database Workbench Pro 5.5.0
Luxand FaceSDK 7.0
SSIS Data Flow Components 1.10
Entity Developer Professional 6.3
dbForge Index Manager for SQL Server 1.9
dbForge Data Generator For MySQL 2.2
Magento Australia Post eParcel Extension 1.0
Top Code
soccerbet 1.0
Betting system 6.x-1.x-dev
Cuckoo Search (CS) Algorithm 1.0
JEDI Database Desktop 27012002
JAC (Java Asn.1 Compiler) 3.0
Analog Clock from Jay 1.0
Stepping stone algorithum for solving the transhipment problem
Equipment Rental Script 1.0
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
object tracking using kalman filter 1.0
BS/1 Accounting - Accounting Source Code
Time Tracking Software
College Management System Script 1.0.4
XHint 1.0
Online Car Rental Management Software Solution Alpha
Top Rated
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
ATN Mall 2.0
WeBuilder 2015 13.3
PHP Digital Download Script 1.0.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