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

Not Your Grandmother's WordPress v2, MidwestPHP

Not Your Grandmother's WordPress v2, MidwestPHP

Version 2 of this talk, given at Midwest PHP in March 2014

Jason Rhodes

March 15, 2014
Tweet

More Decks by Jason Rhodes

Other Decks in Programming

Transcript

  1. • A DEFENSE OF WORDPRESS • AN EXPLANATION OF WHY

    YOU SHOULD USE WORDPRESS WHAT THIS TALK IS NOT
  2. • A GUIDE FOR HOW TO SURVIVE WORDPRESS • A

    WALK-THROUGH OF WHAT WE’VE DONE AT JOHNS HOPKINS WHAT THIS TALK IS
  3. STATISTICS* • 4 to 6 out of every 5 new

    websites are built on WordPress, every day
 • There are roughly 250 billion people in the US who “just want a simple website” and who think WordPress is “the coolest” INCLUDES A CONSIDERABLE AND UNKNOWN MARGIN OF ERROR * (And who have lots of money to spend.)
  4. MANAGE DEPENDENCIES WITH STYLE myApp/ public/ .htaccess assets/ plugins index.php

    ! vendor/ wordpress/ wordpress/ core… ! composer.json NO CONFIG ADMIN PAGES MISSING…
  5. MANAGE DEPENDENCIES WITH STYLE myApp/ public/ .htaccess assets/ plugins wp

    -> ../vendor/wordpress/wordpress index.php vendor/ wordpress/ wordpress/ …core files… composer.json
  6. THE POST IS DEAD LONG LIVE THE POST • ARTICLE

    • PRODUCT • BOOK • EVENT • DEPARTMENT • PROGRAM • LOCATION
  7. BYE BYE, THEMES 1. Open up your index.php file 2.

    Change:
 
 
 to:
 
 3. That’s it.
  8. AUTOMATE ALL THE THINGS WITH CLI TOOLS • wp shell

    • wp post edit 142 • wp scaffold [theme | plugin | post-type | taxonomy] • wp core install • wp core update • wp user generate
  9. • MANAGE DEPENDENCIES WITH STYLE • THE POST IS DEAD

    (LONG LIVE THE POST) • BYE BYE, THEMES (HELLO SMALL MODULES) • DEPLOY WITH CONFIDENCE • AUTOMATE ALL THE THINGS WITH CLI TOOLS