Topic: Templates

Read More

Load Custom Post Type Template From Plugin in WordPress

What's the problem? We want to be able to load a custom page template for a custom post type dynamically in our plugin, without needing the user to have a file in their theme folder. Usually you would have a single-my-custom-post.php file somewhere in the theme directory, as a single template...