In WordPress: Creating Custom Widgets and Plugins with PHP, Drew Falkman teaches PHP developers how to create custom functionality for WordPress 2.0 through 3.0 using widgets and plugins. This course starts by installing and setting up WordPress 3.0 on both Mac and Windows, then provides an in-depth look at tasks related to these WordPress add-ons: installing and administering, building and customizing, creating editable options and database tables, working with posts and pages, and utilizing jQuery and AJAX. There are also tutorials dedicated to promoting a widget or plugin, adding security, and localizing the interface. Exercise files are included with the course.
Topics include:
- Installing WPI and MAMP server solutions
- Administering WordPress plugins
- Introducing hooks
- Writing the PHP for a plugin
- Using template tags and shortcode
- Building a new widget
- Creating an admin interface
- Accessing the WordPress database
- Using jQuery and AJAX for posts and pages
- Registering and promoting plugins
Table of content
Introduction
- Welcome
- Using the exercise files
Getting Started
- WordPress overview
- Installing WPI for Windows
- Installing MAMP for the Mac
- Installing and configuring WordPress
- Comparing WordPress 3.0 with previous versions
- Setting up a PHP/WordPress development environment
Understanding WordPress Plugin Basics
- Exploring WordPress plugins
- Administering plugins from the WordPress admin
- Exploring where plugins reside
- Introduction to hooks 2m 51s
Building a WordPress Plugin
- Creating the plugin PHP file(s)
- More on hooks: Actions and filters
- Installation and activation
- Writing activation code
- Writing an action
- Writing a filter
- About pluggable functions
- Writing a pluggable function
- Using template tags
- Introducing shortcode
Using and Creating WordPress Widgets
- Widgets and the WordPress Widgets SubPanel
- Comparing widgets and plugins
- Using and customizing built-in widgets
- Creating a new widget
- Writing the constructor and registering widgets
- Enabling configuration of widgets
Plugin Options and Administration
- Creating an admin interface
- Saving data to the database
- Securing form submission with nonces
- Options editing post-WordPress 2.7
- Integrating with the WordPress admin menus
- WordPress admin dashboard API
- Using existing options and option editing pages in WordPress
- Using jQuery and AJAX for administration
Using the WordPress Database
- Accessing the WordPress database
- Using the built-in schema
- Accessing data using $wpdb
- Creating new tables
- Inserting data
The Loop, Posts, and Pages
- Introducing the Loop
- Using WP_Query()
- Custom filtering and sticky posts
- Using jQuery and AJAX for posts and pages
The WordPress Plugin Lifecycle
- Registering and promoting plugins
- Creating an uninstall function
- Backward compatibility issues
Security and Extensibility
- Understanding security issues
- Internationalizing your plugin
Conclusion
- Goodbye
Uploaded.net
Rapidgator.net
Letitbit.net
No comments:
Post a Comment