api

WordPress Rewrite API

Read more on custom rewrite rules and the rewrite API: https://codex.wordpress.org/Rewrite_API/add_rewrite_rule I needed to render a page with various url parameters to set the og/meta tags properly. So for example: ...

Custom Rewrites For Static Pages

Sometimes in the course of a WordPress theme build there is a need to have a pretty url for a page that you don’t necessarily want to exist in the CMS. ...