Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a custom post type named "event", for which i disabled the title field. This results in the post to be automatically named "Auto Draft" and the slug "auto-draft-x"

How can i automatically generate the title and the slug according to the post type name and the category set to the post when saving it?



(where "live" is the category)

There is the Auto Post Title plugin that does the trick for the title, but doesn't seem to affect the slug name.

Any help appreciated, thank you!

share|improve this question
Questions are meant to be references for later visitors as well. Please rework your questions spelling/punctuation/grammar/capitalization so it as as easy to read as possible. Hint: There's the WYSIWYG editor. Thanks. –  kaiser Mar 3 '14 at 11:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.