Beyond Custom post types

Building an Organizational News Site with WordPress

About Me

Web Developer II AutoZone E-Commerce

Memphis WordPress User Group Organizer

#memtech Community Evangelist

 

georgespake.com

@georgespake

github.com/gpspake

 

MOVING TO  WordPress

Developer notes

Before WordPress

We Built news.uthsc.edu with WordPress

OLD NEWS

Before WordPress

UTHSC News Press releases

  Before WordPress

UTHSC News

NO RICH CONTENT

  Before WordPress

UTHSC News

Print Media Focus

  Before WordPress

UTHSC News

  Before WordPress

UTHSC News

  Before WordPress

But While we're at it...

  Before WordPress

News Notes

UTHSC Press Coverage Records

News Notes

Campus Announcements

Announcements

  Before WordPress

Great migration

Moving to WordPress

WordPress: Out of the box

Utilize Default Content Types for News

News

Default Post Type          Posts

Default Taxonomies     Categories & Tags

Custom fields                    Homepage Feature

  Moving To WordPress

Importing Existing content

WXR file generated with a script

(and some manual labor)

News

  Moving To WordPress

News

  Moving To WordPress

Results

Rich Content

Images!

SEO / Social

450 New Posts Since Launch

Dramatic Increase in Traffic

First Responsive Site at UTHSC

Custom Post Types

  Moving To WordPress

Custom Post Types

  Moving To WordPress

News Notes Renamed to

UTHSC In THe Media

Custom Post Type          in-the-media

Custom Taxonomy         in-the-media-publisher, in-the-media-tags

Custom fields                    publisher-logo, in-the-media-url

In the Media

  Moving To WordPress

In the Media

Publisher Metadata

Advanced Custom Fields

  Moving To WordPress

Announcements

Announcements

Custom Post Type          announcements

Custom Taxonomy         digest

  Moving To WordPress

Announcements

Web Submission

WP User Frontend

  Moving To WordPress

Announcements

Targeted HTML EMAILS

Almost 4k Announcements Since Launch

 

Moderation Via

Edit Flow

  Moving To WordPress

Search

Search

Results labeled by post type

 

Same content templates as respective post type archive

lessons learned

Developer notes

 Developer Notes

Sidebars

Plugins vs Custom Code

Using plugins isn't cheating

 

Know what your plugins are doing and how they work

 

Avoid Code Rot and Technical Debt

 

It's OK to "hack" plugins

(That's how stuff gets better)

 Developer Notes

Grammar

Learn the grammar

Not the details

taxonomies vs terms etc.

 

get_[thing], the_[thing],

get_[thing]_by_[id]

 

WP's API is intuitive and well documented

 Developer Notes

Custom Content

Registering custom Content

Register each post type and associated taxonomies in its own plugin

Use

Dashicons!

Generate WP

 Developer Notes

Custom Fields

Advanced Custom Fields

USE ACF to Build CRUD UI's

API makes adding fields to templates easy

 Developer Notes

Template Hierarchy

Know thy template hierarchy

Describes which template is being loaded

 

Based on naming convention

 

Archive vs Single

 Developer Notes

The Loop

The Loop

Move reusable markup to template parts and call with get_template_part()

 

Understand how to pass custom args to WP_Query for custom queries

 Developer Notes

Admin UX

Customizing admin Menus

Editor

Admin

Admin Menu Editor

 Developer Notes

Sidebars

Content Specific Sidebars

Announcements

News

Custom Sidebars

Set default sidebars for single/archive post type templates

 Developer Notes

Communication

The Technical Stuff is easy

 

Great Developers are Great Communicators

 Developer Notes

Special thanks to the WP Community

Copy of Talk: Beyond Custom Post Types - Building an Organizational News Site with WordPress

By gpspake

Copy of Talk: Beyond Custom Post Types - Building an Organizational News Site with WordPress

Slides for WordCamp Fayetteville 2017

  • 1,255