Get post related to current post
From what i understand of your question, you are trying to do a meta query. You can do this by the following arguments: $args = array( ‘posts_per_page’ => 10, ‘post_type’ => ‘mobile’, ‘meta_query’ => array( array( ‘key’ => ‘select2_posts’, ‘compare’ => ‘LIKE’, ‘value’ => $value_here ) ) ); You can read more about meta queries … Read more