Custom Post Types

This is an outline of the procedure.

For this demonstration, we’re using Advanced Custom Fields and Custom Post Type UI plugins, in addtion to Elementor Pro.

Step One

Create your custom post type

Has archive = true

Don’t use WP Core taxonomies

https://codex.wordpress.org/Function_Reference/register_post_type

Step Two

Create your custom taxonomies
Edit the CPT to add support for them

Use unique names

Categories are hierarchical, tags are not

https://codex.wordpress.org/Function_Reference/register_taxonomy

Step Three

Refresh permalinks

Step Four

Create custom fields for your CPT and also for taxonomies if you want

Step Five

Create an archive template

Use Posts instead of Archives (no query params)

Query -> your CPT

Create a page and insert the template shortcode

Step Six

Create a single template

Add ACF fields in Post Info widget 

Step Seven

Create category/tag templates

Archive Posts widget

Query – include by term

Condition: Taxonomy->All

SHARE THE LOVE

Share on facebook
Facebook
Share on pinterest
Pinterest
Share on twitter
Twitter
Share on linkedin
LinkedIn