Curious how to remove the slug of a custom post type in WordPress? If you're using CPT UI, there's an option called With Front but that doesn't always seem to work. Follow this tutorial video, add these two simple functions and the slug will be removed from your custom post type URL.
Code used in the tutorial video: https://github.com/permaslug/remove-slug-from-cpt-wordpress/tree/master
Learn more about my Oxygen Builder course here: https://permaslug.com/ultimate-oxygen-course
Join the Facebook group for WordPress Professionals: https://www.facebook.com/groups/permaslugpros/
--Connect with me!--