Dynamic CPT permalink structure based on ACF field value
First step is to register the post type. The slug doesn’t matter here, we won’t be using any of the rules generated when the post type is registered. Within this same init function, we add a rewrite tag and permastruct with our permalink pattern. This will make it easy to construct the permalink in the … Read more