WordPress.org

Support

Support » Plugins and Hacks » Hacks » Implement a Custom Tag for Use in Permalinking

Implement a Custom Tag for Use in Permalinking

  • Essentially, what I’m trying to do is this:

    Create a custom permalink tag, %articleId% that corresponds to a meta field I have defined in wp_postmeta -> article_id

    We use an 8 digit article ID to keep track of our content instead of normal post_id’s so we need it in the URL for easy identification.

    The end result is this (/%category%/%post_title%-%article_id%/) should resolve to something like /news/google-is-great-$99999999/

    I don’t need it to mean anything per se… just to display as text in the URL

    Does anyone know the best way to go about this?

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Implement a Custom Tag for Use in Permalinking’ is closed to new replies.
Skip to toolbar