‘Custom Code’ Videos

  • Dustin Hartzler: Whoops I Did it Again; How to Fix Your Site if You Haven’t Followed WordPress Stand

    WordCamp Ann Arbor 2017Speaker: Dustin Hartzler

    June 11, 2018 — If you’re like most people, you jumped into WordPress with both feet excited to start building your site.

    Now you’ve been to a WordCamp and you are learning the “right” way to do things.

    In this session, we’ll talk about how to get back on track; undoing that custom code we hacked in, or running outdate versions of software. By the end of the workshop, you’ll have steps to get your WordPress site back to following all the WordPress standards.

  • Joe Querin: One Plugin To Rule All Your Custom Code

    WordCamp Kent 2017Speaker: Joe Querin

    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 »