Upgrade to Pro — share decks privately, control downloads, hide ads and more …

WordPress Functionality Plugins

WordPress Functionality Plugins

What are they? Why do I recommend them? And how can you create one?

Avatar for Ryan Cowles

Ryan Cowles

July 18, 2013

Other Decks in Programming

Transcript

  1. WHO AM I • Ryan Cowles • Happiness Engineer at

    Automattic • Front end / WordPress developer • Building websites for over 16 years • Building good websites for 6+ years • Working with WordPress for 5+ years
  2. WHAT IS A FUNCTIONALITY PLUGIN? • A plugin built on

    a site-per-site basis • A plugin created to hold the custom functionality of a website
  3. WHY SHOULD I USE ONE? • You can easily make

    tweaks and adjustments to your site • You don’t have to alter core files • You won’t lose functionality if you change themes • It can easily be moved with the site
  4. HOW DO I CREATE ONE? • You create it just

    like any other WordPress plugin • If you haven’t created a plugin before, this is a great place to start
  5. •Create a new PHP file in a new directory •Enter

    the standard WordPress plugin info (#):
  6. • Important to track changes • Good for your own

    reference • Good for other user/developers who are currently working on the site, or may in the future INCLUDE A README
  7. HOW DO I UPLOAD IT? 1. Zip the plugin directory

    2. Login to your Dashboard 3. Go to Plugins > Add New 4. Click Upload 5. Upload the zip, install and activate 1. FTP to ~/wp-content/plugins 2. Upload the plugin contents 3. Login to your Dashboard 4. Go to Plugins 5. Activate your plugin via the Dashboard via FTP
  8. WHAT ABOUT FUNCTIONS.PHP? • Functions.php still has a purpose •

    It should be home to any functionality that is theme specific Source: (#)