1 comment

  1. (0. Retrieve the meta value with get_post_custom (in order to highlight the selected value in the select input).)

    1. Query posts with get_posts( array( 'post_type' => 'services', 'post_status' => 'publish' ) )

    2. Loop through the results with foreach and build your select input.

    3. Hook into save_post (add_action('save_post', 'my_save_meta') to store the selected value (with update_post_meta).

Comments are closed.