Custom Fields
Support General Select box in media modal appears to be buggy

This topic contains 3 replies, has 2 voices, and was last updated by  Anh Tran 1 year, 3 months ago.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
  • #10597

    Anh Tran


    I’ve just tested your code and it works correctly. Did you set the correct post ID (for the attachment) when getting the value?



    Thanks, I;m using the following code to display, does this look ok to you?

                         foreach ((array) $image as $id) {
                                $colour = rwmb_meta( 'meta_image_colour', '', $id );
                                echo "$colour ";

    Anh Tran

    It looks okay to me. Don’t you get any result?

    Can you try print_r( $image ) first, to see if images are get correctly?

    And also try with get_post_meta in the place of rwmb_meta?

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.