Sorry, your browser is not supported
To have the best experience using Skillshare, we recommend that you use one of these supported browsers.

WordPress Developers: Create a Plugin Class 2 - Member Directory

Marian Heddesheimer, WordPress Expert

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
17 Videos (56m)
    • Intro Video

      3:14
    • Overview

      1:02
    • Basic Decisions

      1:39
    • The Plugin Template

      3:00
    • CMB2 Installation

      1:07
    • The Plugin Structure

      2:48
    • Adding the CPT

      2:02
    • Adding the Fields

      4:23
    • Testing the Fields

      1:29
    • Adding Taxonomies

      1:53
    • Using the Taxonomies

      1:03
    • Adding the Shortcode

      6:28
    • Querying the Taxonomy

      5:59
    • Listing the Data

      3:48
    • Styling the Output

      6:56
    • Optimizing the Code

      6:43
    • SkillShare Project

      2:03

About This Class

This class will show how to create a member listing plugin.

The plugin was originally a request from a client of mine, so this is a real-world example that I have developed in a similar manner for a real customer.

It is using the plugin template from Hugh Lashbrooke that you can get here:

https://github.com/hlashbrooke/WordPress-Plugin-Template

It's also using a plugin for custom fields that you can download here:

https://wordpress.org/plugins/cmb2/

The finished plugin will have these features:

1) It defines a custom post type "directory."
2) It defines a custom taxonomy "cities" for the directory entries.
3) It adds the custom fields "Company Name" and "Address."
4) It creates a shortcode to display a search form on a page.
5) It implements a custom WordPress query to search by name and taxonomy.

The class contains step-by-step instructions to make it easy to follow the instructions. You can also download the final plugin and just use it and make your own modifications to it.

19

Students

--

Projects

0

Reviews (0)

Marian Heddesheimer

WordPress Expert

I started computer programming back in 1988 when I created my first software with BASIC, Turbo Pascal and later in C++.

My primary domain in development was always database development, and I was a freelancer who created custom software for individual clients.

When the Internet came up with the World Wide Web and cheap web hosting for everybody, I switched over to Web-Development, which I started by learning PHP. I did some custom web software for my clients, using PHP as script...

See full profile