How can I get this custom post type permalink structure? %custom_post_type%-%taxonomy%-%term-postname%
Maybe that is what you are looking for: https://wordpress.org/plugins/permalinks-customizer/
Maybe that is what you are looking for: https://wordpress.org/plugins/permalinks-customizer/
Rewrites/query for multiple hierarchical custom post types
I think it is better to connect with taxonomy terms. Since you can add any custom fields to terms using ACF / another plugin / code, it is possible to use terms with images, full description etc. I had similar task, this tutorial should be helpful https://rudrastyh.com/wordpress/taxonomy-slug-in-post-type-url.html. Yes, I know that there is no hierarchy … Read more
Rewrite Rule for showing Parent/Child Relationship between Two Hierarchical Custom Post Types
How to set a CPT to have a page as a parent, then rewrite urls accordingly?
How to categorize posts under Category 1 and Category 2 which are separate lists of categories, and display them as separate lists in widgets
How to create custom url structure based on custom post type rewrite slug, taxonomy and category slug?
dividing sub-categories by parent category – WordPress
how to get the categories for a single product in a hierarchical way
It took me two days to figure this out in the proper way, so I’ll add it here for anyone else that may need it in the future. add_filter(‘wp_unique_term_slug’, ‘prevent_cat_suffix’, 10, 3); function prevent_cat_suffix($slug, $term, $original_slug) { if ($term->post_type == ‘product’ && $term->parent !== 0) { return $original_slug; } return $slug; } As you can … Read more