Correspond to the two meta_key Home › Forums › Feature Requests › Correspond to the two meta_key This topic contains 2 replies, has 2 voices, and was last updated by tsubasa 4 years, 2 months ago. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts May 20, 2014 at 6:57 pm #14719 tsubasaParticipant Hi- Please teach me. Correspond to the two meta_key. ex. meta key “color” meta_value “blue” meta key “animal” meta_value “lion” It’s tried the following, but I have failed. [mashup query=”meta_key=color1&meta_value=blue&meta_key=animal&meta_value=lion posts_per_page=-1″] May 21, 2014 at 4:49 am #14724 ChrisKeymaster Hi, Unfortunately WordPress will only let you use one meta field in a shortcode query. If you need two, you will need to use PHP to show the map. There are some examples here: http://codex.wordpress.org/Class_Reference/WP_Query May 21, 2014 at 2:55 pm #14727 tsubasaParticipant Hi Chris Thank you for fast Reply. I will try the reference URL. Mappress is very nice. Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic.