Permalink structure depending on custom field

Permalink structure depending on custom field