Get all the posts from the category in a dropdown list in a custom field

Question

In wordpress I have have a custom post type. Lets say it is movies. Inside movies I have a list of posts with different movie name. Now in each post I want a custom field of dropdown. Where all the posts for movie will be get populated. And when I will select anyone of them and save. Then the selected movie will show in the frontend. So can someone tell me how to add custom fields for dropdown and fetch all the posts name from that category in the options?
Any help will be really appreciable. Thanks

0
, , newuser 9 months 0 Answers 107 views 0

Leave an answer