Visit LEDU token page

Wordpress Plugin Development

Wordpress Plugin Development

  • English
  • Programming
  • WordpressWordpress
  • (0)
  • Project length: 6h 55m

Interested in learning how to create a plugin for Wordpress? Here, I went through my own process of creating a custom event module. This was used in a convention website that used Wordpress as its CMS. The final project is available for download (click link below).

Overview

Creating a Custom Plugin for Wordpress

Introduction

This tutorial will walk you through the process of creating a custom Wordpress Plugin. We will create a custom content type, add fields + relationships, and build layouts

What are the requirements?

  • HTML/CSS
  • Basic PHP and MySQL
  • Wordpress
  • And the most important is: desire to learn

What is the target audience?

  • You want to build plugins for Wordpress
  • You want to learn how to create and use custom post types in Wordpress

Project Outline

Session 1: Setting-up the Environment + Creating the custom content type

Here I show off how to get your CodeAnywhere account set up for a WordPress development site and configure your custom content types.

Session 2: Creating the Custom Content Type, part 2

Right when I was closing down episode 1 to do some research on why my coding didn't work, someone jumped in with the solution... so I went back in and wrapped up the custom content section of my tutorial :)

Session 3: Advanced Custom Fields plugin + Page Templates

In this session, I use Advanced Custom Fields to build out the custom content types that we created in episodes 1 & 2. I also started working on the template for individual Events.

Session 4: Adding related post data to a template

Here we build out the template for our Event pages, and show the event host/facilitator (either a Guest of Honor or a Sponsor) on the event page.

Session 5: Additional custom content relationships + CSS

In this session I work on the templates for our Sponsors and our Guests of Honor pages. This includes adding in the events that they are hosting and customizing the output of that query. I also show how to add custom CSS files through your plugin.

Session 6: Archive Pages In this session, I work on the archive page for the Tickets content type. We're setting this up to list the tickets by category (registration tickets or add-ons). There's quite a bit of head-meets-keyboard in this episode as I struggle to remember various WordPress functions.

Session 7: Administration Pages This is the final episode of our series :) Here I walk through how to build a basic admin page in order to modify the intro text in our archive pages.

Tools:

  • MySql, PhpMyAdmin etc.

Reviews

Average rating

0(0 Reviews)