Joe Querin: One Plugin To Rule All Your Custom Code

One response on “Joe Querin: One Plugin To Rule All Your Custom Code

  1. givesuccesstom g

    I like ‘Add to All’ for my sites. It does not do php tho.
    Not sure why not many people know about it!

    Like

Continue the discussion

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Published

July 6, 2017

During the redesign/development of a site and migration to WordPress, we ended up creating a custom plugin, after custom plugin to handle various post types and other custom functionality. After a period of a few months it became evident that we had too many plugins, updating code was beginning to become a logistical nightmare, not to mention some things didn’t really constitute a full plugin. While tweaking some JetPack settings one day, I thought to myself how can I emulate the JetPack feature manage page, with our own plugins. I remembered a session from a previous WordCamp about the Custom Fields API and set out to create my own merged plugin.

In this session I’ll describe some of the custom code challenges we had, and how I used the Settings and Options APIs to create a control panel to enable and disable specific plugin features. The control panel allows the site to turn on or off specific sections of the plugin. I also added in a default features section for features that should always be on.

I’ll walk through the code, show the basics of how to create a version of your own, and answer any questions.

Presentation Slides »

Rate this:

Event

WordCamp Kent 2017 19

Speakers

Joe Querin 5

Tags

Custom Code 2
plugin 108

Language

English 9825

Download
MP4: Low, Med, High, Original
OGG: Low
Subtitles
Subtitle this video →
%d bloggers like this: