you mean the slug for the post type, and not the slug for the post, correct? Where you’d get a url of mysite.com/article/ ?
Yes sorry, that’s correct.
Actually I’m using another plugin, but I wanted to know if it is possible directly inside your plugin…I think it is a common request
It is common enough but we are choosing to not have settings/configuration for it. We recommend https://ww.wp.xz.cn/plugins/permalink-manager/ instead.
Noted thanks,
It’s a pity to have to install another plugin…I try to get my websites as minimal as possible with plugin installations, also for security reasons..
I have the same plugin recommendation at the top of https://michaelbox.net/2020/06/slugless-post-type-permalinks/ but if you really don’t want a tried and tested plugin, you can try the code examples at this tutorial of mine.
thank you Michael for the code, in the future I hope you’ll consider adding this option.