Lessons: 10Length: 1.2 hours

Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

1.1 Introduction

In this lesson, I'll introduce you to the practical projects we'll be building in this course: a series of call-to-action plugins that show different ways plugins can be written and activated in WordPress.

1.1 Introduction

Hello and welcome to this Tuts+ course on practical projects to learn to code plug-ins. My name's Rachel McCollin. And in this course, I'm gonna show you how to create a plugin activated via hook, a plugin to create a short code, and a plugin to create a widget. So firstly, I'll outline some best practice guidelines for creating your own plugins. I'll then move on to creating the plugins in our site. And the first one will be activated via a hook which we'll add to our theme. And that will output this call to action box you can see here. We'll then move on to creating three different kinds of short code. And all of those will output the call to action box within the body of the post where the user adds the short code. And then finally, we'll create a widget function to create a call to action widget with fields that the user can update. And that will output the widget here in the sidebar widget area. Watch this course and find out how to create these plugins.

Back to the top