As far as I’ve ever seen, there’s never been a great, foolproof way for this via the register_post_type() function, which is what we collect arguments for with our UI.
Best I can offer is the following, without doing more googling around for the topic:
https://wordpress.stackexchange.com/questions/203951/remove-slug-from-custom-post-type-post-urls
https://wordpress.org/plugins/remove-slug-from-custom-post-type/
The first link is pretty new and talks about how to go about it in 2017. The latter is an admittedly older plugin, not touched in 5 years, but it’s worth trying in my mind.
Thanks for your response!
register_post_type() is best for me.
Thanks
We have fields available for all the parts mentioned in the stackexchange first reply, regarding 'rewrite' => array( 'slug' => false, 'with_front' => false ),
Any parts with pre_get_posts and post_type_link filtering, we don’t have UI elements for. If you need to go this route, then it’s going to be a custom solution to handle.
Thanks Michael for details.
I appreciate your response!
Thanks