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

Use rewrite rules when setting post_type #293

Open
mtekk opened this issue Feb 3, 2024 · 0 comments
Open

Use rewrite rules when setting post_type #293

mtekk opened this issue Feb 3, 2024 · 0 comments
Assignees
Milestone

Comments

@mtekk
Copy link
Owner

mtekk commented Feb 3, 2024

There should be a better way to handle the post_type argument, especially in cases where there is a custom rewrite rule for it. This should result in "prettier" permalinks.

See https://wordpress.org/support/topic/url-notation-to-custom-post-type-archives-by-year-becomes-url-with-parameters/#post-17025771

@mtekk mtekk added this to the 7.4 milestone Feb 3, 2024
@mtekk mtekk self-assigned this Feb 3, 2024
@mtekk mtekk changed the title Use rewrite rules to when setting post_type Use rewrite rules when setting post_type Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant