Pippins Plugins
  • Email
  • Facebook
  • Feedburner
  • Github
  • Google
  • Twitter
  • Vimeo
  • Youtube
  • Rss
  • About
  • News
  • Join the Site
    • Member Benefits
    • Member Plugins
    • Email Notifications
  • Plugin Store
    • Affiliate Area
    • Checkout
  • Plugins
    • Plugin Portfolio
      • Plugin Portfolio – List View
    • Free
    • Premium
    • Member Plugins
    • Coding Standards
    • Get Plugin Support
  • Tutorials
    • Series
      • Plugin Development 101
      • Creating a User Follow System Plugin
      • Customizing Restrict Content Pro
      • Displaying Content with Easy Content Types
      • Writing Your First WordPress Plugins, Basic to Advanced
      • Working with Widgets
      • User Submitted Image Galleries
      • Plugin Thoughts
      • Integrating Stripe.com with WordPress
      • WordPress Rewrite API
    • Member Exclusive
      • Free Members
      • Subscriber Only
    • Difficulty
      • Beginner
      • Intermediate
      • Advanced
    • Action and Filter Hooks
    • Ajax
    • Custom Post Types
    • External APIs
    • Short Codes
    • Taxonomies
    • Video Tutorials
    • Widget Tutorials
    • WordPress Admin / Dashboard
    • Working with jQuery
    • WordPress Database
    • Writing Plugins
    • Tag Index
  • Reviews
  • Support Forum
  • Contact
    • Support the Site
    • Request Code Review
    • Plugin Support

How to Begin Writing Your First WordPress plugin

Posted on September 21, 2011 by Pippin in Beginner, Free Members, Member Restricted, Quick Tips, Tutorials, Video Tutorials, WordPress Admin / Dashboard, Writing Plugins 7 Comments
Home» Tutorials » Beginner » How to Begin Writing Your First WordPress plugin
Tweet
Love It - 8
This entry is part 1 of 7 in the Writing Your First WordPress Plugins, Basic to Advanced Series
Structuring Your First WordPress Plugin →
  • How to Begin Writing Your First WordPress plugin
  • Structuring Your First WordPress Plugin
  • Writing Your First WordPress Plugin Part 3
  • Writing Your First WordPress Plugin Part 4
  • Writing Your First WordPress Plugin Part 5
  • Writing Your First WordPress Plugin Part 6
  • Writing Your First WordPress Plugin Part 7 – Final

The world of plugins can seem a scary place to venture if you’ve never been there before. I remember when I first started, it was because I wrote a tutorial over at Pro Blog Design about how to create a custom Font Uploader for your WordPress theme, and readers asked that I make it into a plugin. My first thoughts were “no way, I have no idea how and I’m comfortable with themes.” After a little bit of groaning, I decided to jump in and figure it out. A year and a half later I’m here, telling all of you how to write a plugin. Believe me, it’s not nearly as scary as I thought it was.

The video below describes the process of creating your first plugin. If you want, skip straight to the code with minimal explanation, but get started in seconds. Your first plugin can be ready to go in less than a minute.

This code should be placed at the top of a .php file that is named after your plugin. In this case, I have named my file “my-first-plugin.php”.

You must be logged in to view the rest of this content. Register or login from the sidebar.

Tweet Follow @pippinsplugins
plugin, plugins

7 comments on “How to Begin Writing Your First WordPress plugin”

  1. dkotter says:
    January 25, 2012 at 9:56 pm

    Awesome intro to plugin dev. I have a few plugins in mind that I’ve been meaning to make and this series should be just what I need to get going. Thanks for the time and effort in putting it together.

    Reply
  2. tmhenson says:
    April 26, 2012 at 12:29 pm

    This was a great into into the plugin development arena. Hoping to learn a few things over the next few weeks.

    Reply
  3. palimadra says:
    September 3, 2012 at 12:52 pm

    Excellent getting started post as it takes the intimidation out of writing a WordPress plugin.

    Just signed up for the website and cannot wait to go through the tutorials. Thank you Pippins for creating this for the community.

    Reply
    • Pippin says:
      September 3, 2012 at 3:53 pm

      Glad to help, and thank you for signing up!

  4. kalle says:
    November 1, 2012 at 4:59 pm

    awesome watched all parts now… just what I looked for.

    thanks a lot!

    Reply
  5. Amreen Shaikh says:
    January 30, 2013 at 3:37 am

    Thank you for the video knowledge. this is awesome!

    Reply
  6. Fernando says:
    February 3, 2013 at 1:48 pm

    Very nice intro…

    I’m new in all this wp stuff, but you have a nice voice and talent to tell the things…

    Thank you… watching all the videos right now!

    Reply

Leave a Reply Cancel reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Login

Lost your password?

Please enter your username or e-mail address. You will receive a new password via e-mail.

  • Facebook Become a Fan Like

  • Twitter Subscribe on Twitter Follow

  • YouTube Follow my Videos Subscribe

  • RSS Feed Subscribe with RSS Subscribe

Easy Digital Downloads

Most Loved

  • Love It Pro for WordPress
  • Write a “Love It” Plugin with Ajax to Let Users Love Their Favorite Posts / Pages
  • Simple Notices Pro Plugin for WordPress
  • User Bookmarks for WordPress
  • Front End Registration and Login Forms Plugin

Similar Plugins and Posts

  • Structuring Your First WordPress Plugin
  • Customize Plugin Action Links
  • Create Database Tables When Plugin is Activated
  • Sugar FAQs – WordPress FAQs Management

Latest Premium Content

  • Plugin Development 101 – Introduction to Adding Dashboard Menus
  • Plugin Development 101 – Intro to Loading Scripts and Styles
  • User Follow System – Part 5
  • Plugin Development 101 – Intro to Short Codes
  • Plugin Development 101 – Registering a Custom Post Type
  • Plugin Development 101 – Intro to Actions

Latest Tutorials

  • Test Your Plugins with RTL (0)

    Right-To-Left languages are those that...

  • Submitting Your First Pull Request to a WordPress Plugin on Github (5)

    Github is an extremely popular tool for managing WordPress plugins, and one...

  • Plugin Development 101 – Introduction to Adding Dashboard Menus (1)

    Adding new menus, both top level and sub level, to the WordPress Dashboard is a really common task for plugins...

Enter your email to receive automated updates when new posts are published

Latest Tweets

  • @om4james That&#039;s what I was looking for, thanks. That was not easy to find @woothemes
    May 24, 2013
  • @om4james Whoops, sorry, I meant the WooCommerce ones @woothemes
    May 24, 2013
  • @woothemes What&#039;s up with not having basic documentation on short codes on the docs page? Am I just blind?
    May 24, 2013

Topics

hook meta box Rémi Corson featured shortcodes campaign monitor add_options_page register_setting Sugar Event Calendar attachments add_shortcode wp_enqueue_script the_content image forms short codes Related posts login do_action authors mail chimp attachment plugin recent posts comments post types bbpress apply_filters short code taxonomies custom post type Ajax images gallery Stripe jquery taxonomy users widgets add_filter easy content types add_action widget restrict content pro easy digital downloads

Weekly Newsletter

Useful Links

  • Join the Site
  • Plugin Store
  • Affiliate Area
  • Tag Index
  • Support the Site
  • Suggest a Tutorial
  • Random Post
  • Contact

Monthly Archives

(c) 2013 Pippin's Plugins