Jonathan Daggerhart: WordPress Rewrites API

One response on “Jonathan Daggerhart: WordPress Rewrites API

  1. daggerhart

    Though there aren’t slides for this presentation, there is an accompanying blog post that goes through each of the shown examples. — http://www.daggerhart.com/wordpress-rewrite-api-examples/

    Like

Continue the discussion

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Published

August 19, 2016

Rewrite rules are how WordPress creates clean/pretty URIs from URL query parameters. When your new page or blog post automatically gets a human-friendly URL, this is provided by a rewrite rule, which itself is using WordPress’s Rewrite API. In this presentation Jonathan Daggerhart will go over the basics of the Rewrite API, create a few new rewrite rules as examples, and make use of the data the Rewrite API provides the global WP_Query object when it matches a rule’s pattern. Hopefully by the end of the class, you’ll have a good understanding of what the Rewrite API is, how it works, and some use-cases where it could be beneficial.

Rate this:

Event

WordCamp Asheville 2016 46

Speakers

Jonathan Daggerhart 4

Tags

Rewrites API 1

Language

English 4430

Download
MP4: Low, Med, High
OGG: Low
Subtitles
Subtitle this video →
%d bloggers like this: