Change slug with custom field in wordpress
-
I want to change the slug of a post with a custom field.
In example, if the custom field is “keyword” my post link will become: mysite.com/keyword.
If the custom field is empty, i want to generate a random key like mysite.com/xV5f7A.
How can i do that without change the wordpress core?
Any ideas are welcome! Thanks.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Change slug with custom field in wordpress’ is closed to new replies.