- 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.Introduction1 lesson, 00:59
1.1Introduction00:59
2.Plugin Best Practice 1 lesson, 06:48
2.1Best Practice for Coding Plugins06:48
3.Creating a Hook-Activation Plugin 2 lessons, 18:13
3.1Action and Filter Hooks06:26
3.2Coding a Plugin for Activation With a Hook11:47
4.Creating a Shortcode Plugin3 lessons, 22:24
4.1Creating a Simple Shortcode06:23
4.2Creating a Shortcode With Editable Content05:40
4.3Creating a Shortcode With Editable Parameters10:21
5.Code a Widget Plugin2 lessons, 22:53
5.1Creating the Widget12:23
5.2Save User Edits to the Widget10:30
6.Conclusion1 lesson, 02:52
6.1Conclusion02:52
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.







