Remove Slug From CPT URL in WordPress

Oxygen - WordPress

May 11, 2020

YouTube video

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://jonathanjernigan.com/ultimate-oxygen-course

Join the Facebook group for WordPress Professionals: https://www.facebook.com/groups/permaslugpros/

–Connect with me!–

Join the Inside Link Community

Get access to all courses, weekly office hours, live build sessions, and an active community of WordPress professionals.

Learn More →