WordPress Plugin Development Cookbook. için kapak resmi
WordPress Plugin Development Cookbook.
Başlık:
WordPress Plugin Development Cookbook.
Yazar:
Lefebvre, Yannick.
ISBN:
9781849517690
Yazar Ek Girişi:
Basım Bilgisi:
1st ed.
Fiziksel Tanımlama:
1 online resource (331 pages)
İçerik:
WordPress Plugin Development Cookbook -- WordPress Plugin Development Cookbook -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers and more -- Why Subscribe? -- Free Access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Preparing a Local Development Environment -- Introduction -- Installing a web server on your computer -- How to do it... -- How it works... -- There's more... -- Creating a remote web development environment -- See also -- Downloading and configuring a local WordPress installation -- Getting ready -- How to do it... -- How it works... -- Creating a local Subversion repository -- How to do it... -- How it works... -- There's more... -- Manual repository creation -- Other version control systems -- See also -- Importing initial files to a local Subversion repository -- Getting ready -- How to do it... -- How it works... -- See also -- Checking out files from a Subversion repository -- Getting ready -- How to do it... -- How it works... -- There's more... -- Subversion file statuses -- See also -- Committing changes to a Subversion repository -- Getting ready -- How to do it... -- How it works... -- There's more... -- Viewing the differences in modified files -- Updating files to latest repository version -- See also -- Reverting uncommitted file changes -- Getting ready -- How to do it... -- How it works... -- There's more... -- Configuring TortoiseSVN to use an external diff viewer -- See also -- Viewing file history and reverting content changes to older revisions -- Getting ready -- How to do it... -- How it works... -- Installing a dedicated code/text editor.

How to do it... -- How it works... -- Installing and configuring the NetBeans Integrated Development Environment -- Getting ready -- How to do it... -- How it works... -- See also -- Interacting with a Subversion repository from the NetBeans interface -- Getting ready -- How to do it... -- How it works... -- Managing a MySQL database server from the NetBeans interface -- Getting ready -- How to do it... -- How it works... -- 2. Plugin Framework Basics -- Introduction -- Creating a plugin file and header -- Getting ready -- How to do it... -- How it works... -- There's more... -- Installing the WordPress plugin creation module in NetBeans -- See also -- Adding output content to page headers using plugin actions -- How to do it... -- How it works... -- There's more... -- Action hooks online listings -- Searching for hooks in the WordPress source code -- See also -- Using WordPress path utility functions to load external files and images -- How to do it... -- How it works... -- There's more... -- See also -- Modifying the page title using plugin filters -- How to do it... -- How it works... -- There's more... -- is_front_page function -- get_post_type function -- Filter hooks online listings and the apply_filters function -- See also -- Adding text after each item's content using plugin filters -- How to do it... -- How it works... -- There's more... -- get_the_title and get_permalink functions -- See also -- Inserting link statistics tracking code in page body using plugin filters -- Getting ready -- How to do it... -- How it works... -- See also -- Troubleshooting coding errors and printing variable content -- How to do it... -- How it works... -- There's more... -- Built-in WordPress debugging features -- See also -- Creating a new simple shortcode -- How to do it... -- How it works... -- See also -- Creating a new shortcode with parameters.

How to do it... -- How it works... -- See also -- Creating a new enclosing shortcode -- How to do it... -- How it works... -- See also -- Loading a stylesheet to format plugin output -- Getting ready -- How to do it... -- How it works... -- See also -- Writing plugins using object-oriented PHP -- Getting ready -- How to do it... -- How it works... -- See also -- 3. User Settings and Administration Pages -- Introduction -- Creating default user settings on plugin initialization -- How to do it... -- How it works... -- There's more... -- Adding new options when upgrading plugins -- Creating new tables and initializing custom post type data -- Deactivation function -- See also -- Storing user settings using arrays -- Getting ready -- How to do it... -- How it works... -- See also -- Removing plugin data on deletion -- Getting ready -- How to do it... -- How it works... -- See also -- Creating an administration page menu item in the Settings menu -- Getting ready -- How to do it... -- How it works... -- There's more... -- Settings hook priority to determine menu order -- See also -- Creating a multi-level administration menu -- How to do it... -- How it works... -- See also -- Hiding items which users should not access from the default menu -- How to do it... -- How it works... -- Rendering the admin page contents using HTML -- Getting ready -- How to do it... -- How it works... -- There's more... -- wp_nonce_field -- See also -- Processing and storing plugin configuration data -- Getting ready -- How to do it... -- How it works... -- See also -- Displaying a confirmation message when options are saved -- Getting ready -- How to do it... -- How it works... -- See also -- Adding custom help pages -- Getting ready -- How to do it... -- How it works... -- See also -- Rendering the admin page contents using the Settings API -- How to do it...

How it works... -- There's more... -- Rendering a drop-down list settings field -- Rendering a text area settings field -- See also -- Accessing user settings from action and filter hooks -- Getting ready -- How to do it... -- How it works... -- See also -- Formatting admin pages using meta boxes -- Getting ready -- How to do it... -- How it works... -- See also -- Splitting admin code from the main plugin file to optimize site performance -- Getting ready -- How to do it... -- How it works... -- See also -- Storing stylesheet data in user settings -- Getting ready -- How to do it... -- How it works... -- See also -- Managing multiple sets of user settings from a single admin page -- Getting ready -- How to do it... -- How it works... -- See also -- 4. The Power of Custom Post Types -- Introduction -- Creating a custom post type -- Getting ready -- How to do it... -- How it works... -- There's more... -- Changing the custom post type permalinks slug -- Adding a new section to the custom post type editor -- Getting ready -- How to do it... -- How it works... -- See also -- Displaying single custom post type items using custom templates -- Getting ready -- How to do it... -- How it works... -- See also -- Creating an archive page for custom post types -- Getting ready -- How to do it... -- How it works... -- See also -- Displaying custom post type data in shortcodes -- Getting ready -- How to do it... -- How it works... -- There's more... -- do_shortcode function -- Adding custom categories for custom post types -- Getting ready -- How to do it... -- How it works... -- See also -- Hiding the category editor from the custom post type editor -- Getting ready -- How to do it... -- How it works... -- See also -- Displaying additional columns in the custom post list page -- Getting ready -- How to do it... -- How it works... -- See also.

Adding filters for custom categories to the custom post list page -- Getting ready -- How to do it... -- How it works... -- See also -- Updating page title to include custom post data using plugin filters -- Getting ready -- How to do it... -- How it works... -- 5. Customizing Post and Page Editors -- Introduction -- Adding extra fields to the post editor using custom meta boxes -- Getting ready -- How to do it... -- How it works... -- There's more... -- Adding a new meta box to all post types (including custom ones) -- Displaying custom post data in theme templates -- Getting ready -- How to do it... -- How it works... -- See also -- Hiding the Custom Field section in the post editor -- Getting ready -- How to do it... -- How it works... -- Extending the post editor to allow users to upload files directly -- Getting ready -- How to do it... -- How it works... -- See also -- 6. Accepting User Content Submissions -- Introduction -- Creating a client-side content submission form -- Getting ready -- How to do it... -- How it works... -- There's more... -- Controlling access to client-side user form -- See also -- Saving user-submitted content in custom post types -- Getting ready -- How to do it... -- How it works... -- There's more... -- Moderating user-submitted content -- See also -- Sending e-mail notifications upon new submissions -- Getting ready -- How to do it... -- How it works... -- See also -- Implementing a captcha on user forms -- Getting ready -- How to do it... -- How it works... -- 7. Creating Custom MySQL Database Tables -- Introduction -- Creating new database tables -- Getting ready -- How to do it... -- How it works... -- There's more... -- Using phpMyAdmin to simplify code creation -- Create tables in network installation -- Deleting custom tables on plugin removal -- Getting ready -- How to do it... -- How it works... -- See also.

Updating custom table structure on plugin upgrade.
Özet:
Over 80 step-by-step recipes to extend the most popular CMS and share your creations with its community.
Notlar:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Elektronik Erişim:
Click to View
Ayırtma: Copies: