How can I create a dropdown box in posts editor page that lists the 15 last posts and creates a diferente meta_value fora each one of them?


If I select post one, it creates (on save) a custom field (relate_this) with the ID of the chosen post.

Read more here: Creating meta_key and value (ID) by selecting post name


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: