WordPress.org

Ready to get started?Download WordPress

Forums

Implement a Custom Tag for Use in Permalinking (3 posts)

  1. Evan Jacobs
    Member
    Posted 3 years ago #

    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!

  2. Evan Jacobs
    Member
    Posted 3 years ago #

    /bump

  3. Evan Jacobs
    Member
    Posted 3 years ago #

    In case anyone was wondering, the Custom Field Permalink plugin works for this..

Topic Closed

This topic has been closed to new replies.

About this Topic