1 / 10

Wordpress Plugins

Wordpress Plugins. Hooks Plugin Most popular plugins. WP Hooks. Change WP behaviors without editing core files Action vs Filter Workflow: ‘ notifies authors when their work is published’. WP Hooks - Extra. Plugins. Plugins - description. <? php /* Plugin Name: Name Of The Plugin

toni
Télécharger la présentation

Wordpress Plugins

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Wordpress Plugins Hooks Plugin Most popular plugins

  2. WP Hooks • Change WP behaviors without editing core files • Action vs Filter • Workflow: ‘notifies authors when their work is published’

  3. WP Hooks - Extra

  4. Plugins

  5. Plugins - description <?php /* Plugin Name: Name Of The Plugin Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates Description: A brief description of the Plugin. Version: The Plugin's Version Number, e.g.: 1.0 Author: Name Of The Plugin Author Author URI: http://URI_Of_The_Plugin_Author License: A "Slug" license name e.g. GPL2 */ ?>

  6. WordPress Plugin Boilerplate • For: • Simple • Easy • Non-MVC • WP-style • Notes: • register_activation_hook • wp_enqueue_script/wp_enqueue_style • add_menu_page • add_option

  7. WP Plugin MVC Boilerplate • scbFramework • WP MVC

  8. Common Plugins • Contact Form 7 • Advanced Custom Fields • WP Super Cache • WP Smush.it

  9. Security check list • http://wiki.vidait.vn/index.php5?title=WP_security_checklist

  10. Exercise • Duration: 2 days • Content: • Hit-counter plugin: count how many time homepage is viewed. • Use add_option() to store data • Show result in Admin section

More Related