Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.292.505 Times

B2Template 1.0

  Date Added: June 13, 2013  |  Visits: 254

B2Template

Report Broken Link
Printer Friendly Version


Product Homepage
Download (19 downloads)

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.

Requirements: No special requirements
Platforms: PHP
Keyword: Administration Behaviour Class Codex Development Directory Ensure Inside Myplugin Mypluginclassphp Panel Plugin Plugins Rename Template Wanted Widget Wordpress
Users rating: 0/10

License: Freeware Size: 10 KB
B2TEMPLATE RELATED
Networking  -  Related External Links 1.0.2
Here are some features: * Easy to setup * Up to five external links per post * Can display in widget or use shortcode ([related-links]) in your postIf you'd like to participate in the plugin development feel free to contact me, I'll be glad to...
10 KB  
Development Editors  -  Ldap Soft AD Admin & Reporting Tool 5.10
LDAP Admin Tool is the premier GUI administration tool for Ldap/Active Directory management, control and development. LDAP Admin Tool provides you with the ability to perform all the necessary LDAP admin routines such as creating, editing,...
 
Development Editors  -  Manifest Viewer New
Manifest Viewer is a small, simple, Java based application specially designed to offer users an utility that uses the Java Class Library tools to look inside a jar's manifest file. All that you have to do is select the JAR file to process and...
 
Networking  -  Peer Categories 1.0
Display only the categories that are peer (i.e. share the same category parent) to all lowest-level assigned categories for the specified post.This plugin provides a template tag which acts a modified version of WordPress's built-in template tag,...
10 KB  
Modules  -  Top Authors 0.5.3
This plugins allows you to easily sum the most contributing authors on your site.It is highlty customizable, it's posible to to customize your own HTML output.Customize the tag before and after the list (for example a custom class).Add a gravatar...
20.48 KB  
Programming  -  phosort 1.0.7
Simple script to sort a directory of photos and videos. Designed to break down a directory into yearly creation date sub directories. Also rename files to provide a more consistent and readable listing. Usage: python...
10.24 KB  
Desktop Utilities  -  Xfce 4 Xfapplet Plugin 0.1.0
Xfce 4 Xfapplet Plugin is a plugin for the Xfce 4 Panel which allows one to use applets designed for the Gnome Panel inside the Xfce Panel. You can think of XfApplet as a tiny Gnome Panel that lives inside the Xfce Panel and allows you to show the...
256 KB  
Programming  -  Open Site Builder: Web developer tools 3.6.1
Open Site Builder automates the essential task of a web development mechanism -- generating final pages by populating a predefined page template with content from source files. This allows to separate page layout development from content creation.
26.31 KB  
Modules  -  Paranoid911 0.0.3
The plugin checks the integrity of the wordpress directory (with all subdirectories) and a few database tables (wpusers, wpusermeta, wpposts, wplinks, wp_options).InstallationUnpack and upload it to the /wp-content/plugins/ directory.Activate the...
 
Networking  -  Twitter Hash Tag Widget 1.1
A widget for displaying the most recent twitter status updates for a particular hash tag.Installation : 1. Upload the twitter-hash-tag-widget folder to the /wp-content/plugins/ directory or install directly through the plugin installer. 2....
10 KB  
NEW DOWNLOADS IN SCRIPTS, NETWORKING
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Networking  -  Shortcode Autolink 0.1
Lets you create links automatically on the basis of internal research results, and everything through Shortcode !Installation : 1. Upload the plugin folder to your /wp-content/plugins/ folder. 2. Go to the Plugins page and activate the plugin. 3....
10 KB  
Networking  -  Pixel Sitemap 1.0.0
Pixel Sitemap Plugin allows with the use of widget to display in sidebar links on the posts in compact way, namely as a rows of 1 pixel pictures.The main features are: * Support cache for links * Display links in random order or by date * Easy...
10 KB  
Networking  -  Contexture Page Security 0.7.1
Contexture Page Security adds some much-needed "page security" to WordPress, allowing admins to limit or restrict access to individual pages or entire sections of their website. To do this, admins create "groups" of users that can be added to...
10 KB  
Networking  -  Vertical scroll recent post 8.0
This will scroll the recent post title in site side bar or any desired template location.In version 4.0 three new option added. 1. Categories selection. 2. select display Orderbys. 3. select display orderFeature * User can see the newest post at...
10 KB  
Networking  -  Wp-o-Matic-Authors 1.0
"Wp-o-matic-Authors" is an add-on to Wp-o-Matic. It automatically creates a new author for each campaign (even if already fetched). Then, each post imported by Wp-o-Matic will have as author the name given by this plugin instead of a name already...
10 KB