Support » Plugins and Hacks » Hacks » Implement a Custom Tag for Use in Permalinking
6 years, 5 months 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!
6 years, 4 months ago
In case anyone was wondering, the Custom Field Permalink plugin works for this..