WordPress Plugin Development Guideline

Tutorials, WordPress
General Use comments everywhere. Any new developers should be able to know what the code is doing pretty quickly. Stay Current. Adhere to the latest version of WordPress standards and APIs. Use best practices as detailed at http://codex.wordpress.org/Writing_a_Plugin Test site with define('WP_DEBUG', true); added to wp-config.php to view errors.   File Structure The following folders should exist to support the main plugin file: /js - all javascript /css - all style sheets /img - all images /inc - all PHP include files The root should contain at least: the plugin file (my-plugin.php) uninstall.php - all code to remove plugin and database entries   Plugin Coding Standards Use common PHP coding standards (see php.net). Use common WordPress coding standards (see codex.wordpress.org). Follow rules for quotes, indentation, spacing, etc. at http://codex.wordpress.org/WordPress_Coding_Standards Follow…
Read More

10 Easy Steps For WordPress MU Installation

PHP, Techniques, Tutorials, WordPress
10 simple steps for installation WPMU are: 1 Download WPMU from http://mu.wordpress.org/download/ and unpack it. 2 If you want your WPMU installation in a subdirectory then rename the “wordpress-mu” folder to whatever you want. Upload the entire folder to your server. If you want your installation directly on the root then don’t worry about the folder. Simply upload all of the files inside (not the directory itself) to your server. 3 Create a MySQL database for WordPress MU on your web server, as well as a MySQL user who has all privileges for accessing and modifying it. 4 Navigate to index.php at your domain and you will be presented with the install script: http://example.com/index.php { Root Installation } http://example.com/subdirectory/index.php { Subdirectory Installation } 5 Delete your .htaccess file and change…
Read More

PHP Disqus Comments

PHP, WordPress
This class can be used for integration of blog comments to import in Disqus. It can generate a XML document in RSS 2.0 feed format with comments of a blog or similar platform to be imported in the Disqus platform. The generated feed includes comments with tags used by Wordpress define details like the comment date, author, text, thread comment parent, etc.. Download Script Source From: http://www.phpclasses.org
Read More