How to Register Custom Post Types in a WordPress Theme and Display Them with Archive Templates
Registering custom post types in a WordPress theme looks simple: paste a register_post_type() call into functions.php, hit save, done. Then the archive returns a 404, the single view falls back to index.php, and the client switches themes and loses half their content. This tutorial walks through the full workflow the way we do it on … Read more
