WordPress.org

Ready to get started?Download WordPress

Forums

How to Define Slug (3 posts)

  1. acondiff
    Member
    Posted 3 years ago #

    Right now the slug reflects the title. I have three fields: number, first_name, and last_name. I want the slug to look like this:

    /03-John-Smith/

    How can I do this? Thanks.

  2. Samuel B
    moderator
    Posted 3 years ago #

    perhaps a combination of %post_id% and %author% ?
    http://codex.wordpress.org/Using_Permalinks#Structure_Tags

  3. acondiff
    Member
    Posted 3 years ago #

    Sorry for not explaining, but these are all custom fields in a custom post type (Players).
    'number'
    'first_name'
    'last_name'

Topic Closed

This topic has been closed to new replies.

About this Topic