Remove Slug From CPT URL in WordPress

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

Signup For Emails

Want to be notified when new tutorials are released? Signup below for our roundup emails. We promise not to spam and won't blow up your inbox. 
  • This field is for validation purposes and should be left unchanged.
Jonathan Jernigan, Founder
Permaslug and APEX Web Solutions

Join Permaslug

Membership Benefits Include:

  • Ultimate Oxygen Course
  • Ultimate Woocommerce Course
  • ACF Pro Course
  • Material Design Lite
  • Template Downloads
  • Community
  • And more!
register

More Posts

Creating a Multi-Row Header - Aletha's Legacy Part 1

Welcome to the first full episode of this series where we will be building a website in Oxygen Builder from the ground up, start to finish. The project is for an organization called Aletha's Legacy…
READ post

Giving Back for 5,000 Subscribers

I wanted to extend a thank you and also give back to the community that has supported me so much in celebration of 5,000 subscribers here on the channel. I'll be releasing a series with…
READ post

The Incredible Power of Google My Business Listings

Getting any business found on Google, whether it's a client or your own, will almost certainly be an important step during your web development journey. What I'm covering in this video is some of the…
READ post
menu linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram