• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Tips and Tricks HQ

  • Home
  • Projects
    • All Projects
    • Simple WP Shopping Cart
    • WP Express Checkout Plugin
    • Accept Stripe Payments
    • WP Download Monitor
    • Easy HTTPS Redirection
    • WP Security and Firewall Plugin
    • WP eStore Plugin
    • WP Affiliate Platform
    • WP eMember
  • Products
    • All Products
    • Checkout
  • Support
    • Support Portal
    • Customer Only Forum
    • WP eStore Documentation
    • WP Affiliate Software Documentation
    • WP eMember Documentation
  • Contact

How to Create a WordPress plugin

Home » Blog » How to Create a WordPress plugin

Last updated: May 20, 2014





WordPress Plugins are tools to extend the functionality of WordPress. Creating a basic WordPress plugin that does something basic and cool on your site is not that hard. It is actually better to apply some tweaks to your site via a simple WordPress plugin rather than hacking your theme or an existing plugin. This approach can also help you keep the functionality separate (which is a good WordPress system integration practice).

In this introduction to creating a WordPress plugin video tutorial, we will create a simple WordPress plugin that shows you a little bit more than just the usual “Hello World” example.

Creating WordPress Plugin Video Part 1

I will demonstrate the following concepts in this part of the video tutorial:

  • Creating administration pages
  • Using the WordPress styles to create your admin styling
  • Interacting with the WP database using the $wpdb object



Creating WordPress Plugin Video Part 2

In this part of the video we are going to build on the plugin from the first video (see above) and introduce the following concepts:

  • Using forms to submit data from your plugins admin page
  • How to store your plugin data in the wp_options page for easy retrieval

Note: It is a good idea to test your newly written plugin in a local installation of WordPress or on a test site first 🙂

It is also a good idea to keep the following URL handy (just in case)

Deactivate WordPress Plugins without Logging Into WP Admin

Next, you should learn the WordPress hooks (if you don’t know it already) so check the tutorial on hooks and filters.

Related Posts

  • WordPress Action Hooks and Filter Hooks – An Introduction
  • How to Easily Import or Export any of Your WordPress Database Table Content
  • How to Add Google Custom Search to WordPress (Video Tutorial)
  • How to Use Firebug to Modify Your WordPress Site’s CSS (Video Tutorial)

Video Tutorial,  Web Development,  Wordpress creating WordPress plugin,  plugin,  Video Tutorial,  wordpress developer tutorial

Reader Interactions

Comments (10 responses)

  1. admin says:
    November 22, 2014 at 11:04 pm

    @Chris, The options table is good for storing plugin’s settings and options. However, sometimes you may need a separate table to store other types of data. For example, you probably don’t want to add users profile data into the options table.

  2. Chris says:
    November 22, 2014 at 5:32 pm

    Quick question:
    You have us storing things in a table so we don’t have to query the database over and over. But… Isn’t the process of getting things from wp_options just another query to the database? What difference does it make? You’re just trading one query for another.

  3. Maximus McCullough says:
    May 20, 2014 at 12:46 pm

    Very good tutorial, very informative. I like the way you highlighted how every function and line works. I think you should do more tutorials as well. I look forward to more of your posts! 🙂

  4. Wala says:
    January 7, 2014 at 10:05 am

    Nice tutorial to learn wordpress plugins developemt.

  5. jaydipsinh says:
    October 1, 2013 at 10:03 am

    NIce Video Tutorial

  6. chitta says:
    March 5, 2013 at 7:44 am

    Thank for this tutorial…

  7. Rosendo Cuyasen says:
    September 5, 2012 at 11:41 am

    I’m a wordpress developer and when I look at this tutorials for plugin it is really what I’m looking for to teach to my people.

    Thanks and looking for more tutorials on this.

  8. Arup Ghosh says:
    September 5, 2012 at 2:26 am

    I was really in need of this kind of tutorials as a WordPress beginner

  9. Ian says:
    July 1, 2012 at 9:44 pm

    Thanks for the great tutorials, I really needed a quick start guide like this.

  10. Xavier says:
    June 12, 2012 at 8:59 pm

    Thanks for this tutorials, The #2 was so helpful. 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Featured & Popular Articles

Video Answers to Top WordPress QuestionsWordPress Optimization Tips and Tricks for Better Performance and SpeedEssential WordPress Security Tips - Is Your Blog Protected?WordPress Simple PayPal Shopping Cart PluginTop 15 Search Engine Optimization (SEO) Techniques I Forget to DoList of the Best and Must Use WordPress PluginsHow do I Start a Blog and Make Money Online?Good Domain Name Picking Tips for Your Blog SetupFind Out Which WordPress Web Hosting Company Offers the Cheapest and Reliable Web Hosting Solution

Featured WordPress Plugins

WP Express Checkout Plugin
wordpress estore plugin
wordpress membership plugin
wordpress affiliate plugin

Recent Posts

  • How to Use Browser Developer Tools to Inspect Elements and [...]
  • Accept Donations via PayPal from Your WordPress Site Easil [...]
  • Buy Now Button Graphics for eCommerce Websites [...]
  • Subscription Button Graphics for eCommerce Websites [...]
  • Adding PayPal Payment Buttons to Your WordPress Sidebar Ea [...]

Comment & Socialize

  • @Rob, We have just released ...
    - admin
  • I installed the plugin a co ...
    - Rob
  • @Sebastian, We've released ...
    - admin
  • I've used this plugin on a ...
    - Sebastian Djupsjöbacka
  • @John, this plugin doesn't ...
    - admin

Check out our solutions

View our WordPress plugin collection and start using them on your site.

Our WordPress Solutions

Footer

Company

  • About
  • Privacy Policy
  • Terms and Conditions
  • Affiliate Login

Top WordPress Plugins

  • Simple Shopping Cart
  • PayPal Donations
  • WP Express Checkout
  • WP eStore
  • WP eMember

Blogging Tips

  • How to Start a Blog
  • Selecting a Good Domain
  • Cheap WP Hosting
  • WP Video Tutorials
  • Simple SEO Tips

Search


Keep In Touch

Copyright © 2025 | Tips and Tricks HQ