Title: Display Multiselect field values
Last modified: September 1, 2016

---

# Display Multiselect field values

 *  Resolved [Andrija Kokanovic](https://wordpress.org/support/users/kokan87/)
 * (@kokan87)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/display-multiselect-field-values/)
 * Hi there,
 * I`m using your plugin and I added a multiselect field. It works nice on front
   end and admin submission, but I am having trouble displaying it on frontend.
 * Here is my code:
 *     ```
       $payments = get_post_meta( get_the_ID(), '_job_payment', true);
       if ( ! empty( $payments ) ) {
           echo '<div>' . __( 'Available types of payment:' );
       	echo $payments;
       	echo '</div>';
       ```
   
 * When I do this, echo gives me ARRAY where payments should go. When I do replace
   `
   echo $payments` with this code `foreach ( $payments as $item) : echo "$item, ";
   endforeach;` then the result is 3, 10,
 * When I add var_dump($payments); result is
 * array(2) { [0]=> string(1) “3” [1]=> string(2) “10” }
 * So basically I need a way to display option values instead of IDs.
 * [https://wordpress.org/plugins/wp-job-manager/](https://wordpress.org/plugins/wp-job-manager/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Dan (a11n)](https://wordpress.org/support/users/drawmyface/)
 * (@drawmyface)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/display-multiselect-field-values/#post-7580423)
 * Sorry, but we aren’t able to help with custom code requests like this.
 * I’d suggest using this plugin instead:
    [https://plugins.smyl.es/wp-job-manager-field-editor/](https://plugins.smyl.es/wp-job-manager-field-editor/)
 * Or you may want to look into one of these services:
 * [http://jobs.wordpress.net/](http://jobs.wordpress.net/)
 * [http://studio.envato.com/](http://studio.envato.com/)
 * [https://codeable.io/](https://codeable.io/)
 * Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Display Multiselect field values’ is closed to new replies.

 * ![](https://ps.w.org/wp-job-manager/assets/icon-256x256.gif?rev=2975257)
 * [WP Job Manager](https://wordpress.org/plugins/wp-job-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-job-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-job-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-job-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-job-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-job-manager/reviews/)

## Tags

 * [multiselect](https://wordpress.org/support/topic-tag/multiselect/)

 * 1 reply
 * 2 participants
 * Last reply from: [Dan (a11n)](https://wordpress.org/support/users/drawmyface/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/display-multiselect-field-values/#post-7580423)
 * Status: resolved