1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

PHP: Wordpress Widget Boilerplate

  1. Clicks today:
    0
  2. Clicks this month:
    0
  3. Overall rating:
    3.00/5

PHP » Frameworks — over 5 years ago
You can create a WordPress widget to do anything you want, the easiest way to create a WordPress widget is to inherit the WP_Widget class. This way you can use the inbuilt functions to update the widget, display the widget and create an admin page for the widget. Below is the boilerplate of a WordPress widget, when you create a new widget just copy and paste the below code as a starting point for your Widget.

Comments

Your Comment

You must be logged in to post a comment.