PHP Basics for WordPress

About Me

Doing WordPress since ~ 2005

Full Stack Developer

Senior Consultant

 

 

 

PHP Basics

  • Language Constructs / Syntax
    • Variables
    • Functions
    • Objects/Classes
    • Arrays
    • Integers
    • Floats
    • Loops/Conditionals

WordPress Basic PHP

  • WordPress Theme Layer
    • have_posts();
      • the_post();
        • the_title();
        • the_permalink();
        • the_content();
        • the_time('F jS, Y');
  • Functions.php
  • Knowing where to look, Developer Resources
    • https://developer.wordpress.org/

WordPress Structure

Hook System

Plugins

Themes

Template Hierarchy

The Loop

Functions.php

PHP Basics for WordPress

By Eric Katz

PHP Basics for WordPress

WordCamp 2016

  • 737