WordPress Plugin Course - The World's Simplest Contact Form | John Morris | Skillshare

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

    • Lesson 1: Folder Structure and Plugin Header

    • Lesson 2: Main Plugin Class Setup

    • Lesson 3: Build the Contact Form

    • Lesson 4: Add the Shortcode

    • Lesson 5: Enqueue Styles

    • Lesson 6: Create the Custom Post Type

    • Lesson 7: Inserting Form Submissions

    • Lesson 8: Send the Notification Email

    • Lesson 9: Handling Redirects In WordPress

    • Lesson 10: Adding Custom Columns

    • Final Thoughts

12 students are watching this class

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.





  • --
  • Beginner
  • Intermediate
  • Advanced
  • All Levels
  • Beg/Int
  • Int/Adv


Community Generated

The level is determined by a majority opinion of students who have reviewed this class. The teacher's recommendation is shown until at least 5 student responses are collected.

John Morris

I teach aspiring developers how to code


Click here to start this class

See full profile

Report class