WordPress Plugin Course - The World's Simplest Contact Form

John Morris, I teach aspiring developers how to code

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
12 Videos (2h 46m)
    • Introduction: What You're Going to Build

      4:00
    • Lesson 1: Folder Structure and Plugin Header

      11:47
    • Lesson 2: Main Plugin Class Setup

      5:27
    • Lesson 3: Build the Contact Form

      36:57
    • Lesson 4: Add the Shortcode

      10:01
    • Lesson 5: Enqueue Styles

      8:27
    • Lesson 6: Create the Custom Post Type

      22:59
    • Lesson 7: Inserting Form Submissions

      31:29
    • Lesson 8: Send the Notification Email

      10:03
    • Lesson 9: Handling Redirects In WordPress

      4:43
    • Lesson 10: Adding Custom Columns

      18:18
    • Final Thoughts

      1:32

About This Class

In this course, I show you how to build a contact form plugin in WordPress. The idea here is for this to be an introduction to building WordPress plugins. So, it's not everything you could ever want know, but you will learn some of the basics of WordPress plugin-building. Here's a run-down of the things you'll learn:

  • How to Organize Your Files and Folders
  • The WordPress Plugin Header
  • Using PHP Classes With WordPress
  • How to Build a Contact Form
  • WordPress Action and Filter Hooks
  • How to Create WordPress Shortcodes
  • How to Add Custom CSS and JavaScript In WordPress
  • How to Create a Custom Post Type
  • The Proper Way to Handle Form Submissions
  • Inserting Posts Into a Custom Post Type
  • How to Send Emails In WordPress
  • Handling Redirects With WordPress
  • The Right Way to Add URL Parameters
  • How to Add Custom Columns To a Posts Table

These are things you might expect to find in a course like this, but are NOT in here:

  • Creating custom tables in WordPress
  • Inserting data into custom table
  • Adding custom menus
  • Working with $wpdb

Basically, you can choose between using custom post types or custom database tables when storing data in WordPress. In most cases, custom post types are the way to go. So, that's what I chose to do here. That's the scope of this particular course. Other courses I do, I may go into custom tables. In any case, when you use custom post types, you don't need to do any of the things listed above. WordPress does most of it for you... which is the benefit of custom post types.

Source code for the plugin is included.

5 of 6 students recommendSee All

the text could have been bigger

65

Students

--

Projects

John Morris

I teach aspiring developers how to code

Hey I'm John. Let me talk about myself for a minute :D. So, I've been a web designer/developer for about 12 years now. I specialize in the "standard" web languages (HTML, CSS, JavaScript, PHP and MySQL). I'm a freelancer and instructor.

To "humble" brag for a second...

I worked on big name projects for people like New York Times Bestselling Author, Michael Hyatt; online celebrity, Lewis Howes; Inc. Magazine's Small Business Owner's Council; famous copywriter, Ray Edwards and oth...

See full profile