Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Primary category is being ignored #104

Open
dennisperremans opened this issue Nov 29, 2020 · 0 comments
Open

Primary category is being ignored #104

dennisperremans opened this issue Nov 29, 2020 · 0 comments

Comments

@dennisperremans
Copy link

I'm using your plugin "Custom Post Type Permalinks", but found an issue when I use Yoast SEO plugin and Woocommerce.
With the Yoast SEO plugin, you can select which category must be primary when a product has more than one category.
For example: product X has two categories: "schools" and "activities". I choose "schools" to be the primary category.
The primary category is then added the the URL: domain.com/schools/product-x

But when I activate your plugin "Custom Post Type Permalinks". The primary category is ignored.
Always the first selected category is added in the url: so my url is domain.com/activities/product-x and not the chose primary category anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant