addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

How to Build a WordPress Plugin [Dev]

Plugins are the recommended way to extend or modify the functionality of WordPress and they're not actually all that difficult to build.

In this talk Peter Cook will demonstrate how to build a basic plugin consisting of just a few lines of code. He'll then show how a plugin that embeds a bar chart in a post can be made and he'll cover concepts such as shortcodes and JavaScript along the way.

If you've ever found yourself needing to modify or extend the functionality of WordPress then this is the talk for you!

By: Peter Cook http://prcweb.co.uk/

Join or login to comment.

  • Herb M.

    Great presentation. Really looking forward to some form of open Q&A forum/ hack meeting where people ask for help and others give advice. e.g. real example yesterday (from Geoff I think)
    Q. How could I develop a plugin to automatically produce half tone images?
    A. Consider looking at plugins that do something similar like adding a watermark, and consider using a custom image size.

    Need more info about the BuddyPress site.

    March 19, 2015

    • Geoff

      That's why I used halftone as an example. You can do a lot with CSS, but I particularly want to alter the image.

      March 26, 2015

    • Herb M.

      Well I did say that you had other filters you wanted to apply. And some weren't sure what was meant by halftone anyway.

      March 26, 2015

  • Herb M.

    Oops, forgot to rate. Overall only a 4 since not enough post meeting networking... at the pub. Is this where the BuddyPress site will be http://www.wp-brighton.org.uk ?

    March 19, 2015

  • Elliot T.

    Looking forward to this - any chance you can cover object orientated plugin development? I've been experimenting with https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate and would like to go through with the group how best to approach this.. cheers

    February 6, 2015

    • Peter C.

      Thanks Elliot. This is primarily aimed at people who haven't made a plugin before - it's trying to demystify the process. If we have time, we can certainly discuss OO, but as Dasha suggests, it'll be good to have a separate, perhaps practical, session. See you tomorrow!

      March 17, 2015

  • A former member
    A former member

    I would also highly recommend signing up for Pippin's Plugins tutorials https://pippinsplugins.com/learn/ It's paid for, but not that much $60 per year and totally worth it!

    February 12, 2015

  • A former member
    A former member

    Elliot, perhaps it's best to have a separate session about this where we can have an open table style meeting or even hack meeting? But let's see how much Peter will cover :)

    I'd be interested to know more as well. I tried to work with Tom McFarlin's plugin boiler plate, but I found it confusing.

    1 · February 6, 2015

    • Elliot T.

      Awesome - Would **love** to put aside an evening and go through best practices and approach with others. I'll suggest this in the Slack chat (is that the best place to discuss?)

      February 12, 2015

16 went

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy