Wordpress Widget Basic Stucture


/ Published in: PHP
Save to your folder(s)

Wordpress Widget Basic Stucture


Copy this code and paste it in your HTML
  1. <?php
  2. /*
  3. Plugin Name: Messenger Widget
  4. Plugin URI: http://www.scoldy.com
  5. Description: Any message designated.
  6. Version: 1.0
  7. Author: Ronnie
  8. Author URI: http://www.scoldy.com
  9. */
  10.  
  11. class Messager extends WP_Widget {
  12. function __construct()
  13. {
  14.  
  15. }
  16. public function form()
  17. {
  18.  
  19. }
  20. public function widget()
  21. {
  22.  
  23. }
  24. }
  25.  
  26.  
  27.  
  28.  
  29. ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.