Remove Slug From CPT URL in WordPress

,

YouTube video

Written By

Jonathan Jernigan

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!–

Signup for the most inconsistent newsletter this side of the Mississippi

Delivered on a regular-as-I-can basis, I'll share with you the tl;dr of new blog posts and videos, exciting announcements, and other valuable information from around the WordPress ecosphere. You'll never get more than one email per week from me.

"*" indicates required fields

This field is for validation purposes and should be left unchanged.