While prototyping a WordPress plugin I’m writing, I experimented with supplying default templates to display pages related to a custom post type. This is accomplished using the template_redirect action API. If the following technique is not used, any special templates a plugin provides would need to be copied to the active theme, making plugin installation […]