Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Bending WordPress to Your Will (October 2018)

Bending WordPress to Your Will (October 2018)

These slides are slightly modified from a previous talk I gave with the same title.

WordPress is an incredibly powerful platform and framework for development, but until you learn how to use it you won't be able to make full use of its flexibility. In this session you will learn the core principles of WordPress development that will enable you to start taking full advantage of everything that it offers.

I gave this presentation at the Cape Town Develop UG on 29 October 2018: https://www.meetup.com/DeveloperUG/events/bcqgbqyxnbdc/

Hugh Lashbrooke

October 29, 2018
Tweet

More Decks by Hugh Lashbrooke

Other Decks in Programming

Transcript

  1. Headers /* * Plugin Name: Seriously Simple Podcasting * Version:

    1.9.6 * Plugin URI: https://wordpress.org/plugins/seriously-simple-podcasting/ * Description: Podcasting the way it's meant to be. * Author: Hugh Lashbrooke * Author URI: https://hugh.blog/ * Requires at least: 4.6 * Tested up to: 4.9.8 * * Text Domain: seriously-simple-podcasting */
  2. <?php /* * Plugin Name: YouTube Redirect * Version: 1.0

    */ add_action( ‘init’, ‘youtube_redirect’ ); function youtube_redirect () { if( isset( $_GET[‘youtube_redirect’] ) ) { wp_redirect( ‘https://youtube.com’, 302 ); exit; } } ?> Bringing it Together
  3. Varying Vagrant Vagrants: varyingvagrantvagrants.org Plugin Developer Info: wordpress.org/plugins/developers Coding Standards:

    make.wordpress.org/core/handbook/best-practices/coding-standards Plugin Template: github.com/hlashbrooke/WordPress-Plugin-Template