No URL structure for custom post type
Hello guys, I would like to know if its possible to remove URL structure for a custom post type. For example, I have 2 custom post types: portfolio and slider.
I want to keep URL structure for portfolio post type like this: mysite.com/portfolio/item-1 etc.
But I dont want URL structure for slider posts, since its only showing on the home page and I dont want visitors to be able to access it by going to mysite.com/slider/slide-1 for example. Is it possible?
Thanks in advance 🙂
- The topic ‘No URL structure for custom post type’ is closed to new replies.