generate custom permalink based on a custom field
I’m newbie to the WordPress.
So far I have a custom post type called ‘property’. This post type has one custom field called ‘property_city’.
In WP-admin – permalink setting, I have selected Post name option.
So, posts of this custom post type have URLs like:
What I want to have those URL to be generated using the city of the property and also I want to change properties prefix with student-properties like that:
I have tried various plugin and various code, but none of them worked as expected.
Any help would be appreciated.