Change URL of results to /custom-post-type/year
-
Just installed the plugin and works as advertised. I’m using it on a custom post type called “News”. However when I select the year it takes me to /blog/2022 and when I look at the codes I see that’s what the value is of the option pulldown.
I know WordPress has issues with you having both a blog and a custom post type with year style archives.
What is the best way to work around this so that my results appear at /news/2022.
Not sure if I should be looking at filters, re-directs, etc. Realize it will probably take some PHP and custom code which is fine, just want to be pointed in the right direction.
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘Change URL of results to /custom-post-type/year’ is closed to new replies.