Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author ThoughtLab

    (@thoughtlabllc)

    You should be able to open up the “Screen Options” at the top of the edit page and check the box that says “Slug.” You should be able to type in the slug for your custom post in that box. Please let me know if that doesn’t work.

    Thread Starter thatwastaxing

    (@thatwastaxing)

    Hi. Yes, I’m able to change the slug that way but what I’m after is a way to change it from saying “auto-draft-x” and taking the value of [author].

    Looking at my database, all the records have a value of “auto-draft” rather than “publish” (except for Hello World! and Sample Page, of course).

    Perhaps this is beyond the scope of your plugin and something I should be investigating in WP itself?

    Plugin Author ThoughtLab

    (@thoughtlabllc)

    We could set the slug dynamically with the title, but that would cause problems with permalinks and SEO. If anything changed, then the URL would become obsolete. If you set the slug yourself, then you can set it to whatever you want, and it will work as long as you don’t change the slug.

    Thread Starter thatwastaxing

    (@thatwastaxing)

    Thanks for looking into this.

    It seems that publishing without a title (custom post types) is indeed a WP limitation and the solution is to pre-populate the title field before saving so that it is set.

    Did you figure out the best way to pre-populate the title field?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Auto Post Title] changing permalink’ is closed to new replies.