How to add Custom Post Types

You can add a custom Post type to your WordPress theme by including the following in your theme’s functions file. Just change the names to match what you need.

Once you’ve included the function, you can call it in your theme by adding a custom post type query.

Leave a Reply

Your email address will not be published. Required fields are marked *

− 6 = 4