title: Wordpress: Custom Post Type query not finding advanced custom field meta_query
body: <p>I have a custom post type in Wordpress called People (each post in people is a person with some bio details etc).</p>
  
  <p>Inside each People post I've created a custom field called 'tags' which has a series of checkboxes.</p>
  
  <p>If someone clicks on the System Manager checkbox I want to be able to only pull through all the system managers on a particular page.</p>
  
  <p>The most success I've had is using the wp_get_recent_posts instead of new wp_query .. this will output everybody UNTIL I add my extra meta query search. Then nothing appears.</p>
  
  <pre><code>$people_args = array(
      'post_type' =&gt; 'people',
      'post_status'=&gt;'publish',
      'meta_query' =&gt; array(
      array(
          'key' =&gt; 'tags', // name of custom field
          'value' =&gt; 'systemmanager',
          'compare' =&gt; 'LIKE'
      )
      )
  );
  $people_posts = wp_get_recent_posts($people_args);
  foreach( $people_posts as $people ){    
  
      $fields = get_fields($people["ID"]);
  
      if (get_post_thumbnail_id( $people["ID"] )&gt;0) {
          $myimgsp = wp_get_attachment_image_src(get_post_thumbnail_id($people["ID"]),'full');
          echo '
              &lt;li class="item"&gt;
                  &lt;a href="'.get_permalink(43).'"&gt;&lt;img src="'.$myimgsp[0].'" alt="'.$people["post_title"].'" class="img-responsive" /&gt;&lt;/a&gt;
                  &lt;div class="profile"&gt;
                      &lt;h3&gt;'.$people["post_title"].'&lt;/h3&gt;
                      &lt;p&gt;'.$fields["job_title"].'&lt;/p&gt;
                      &lt;a href="'.get_permalink(43).'"  class="btn invert black"&gt;View Profile&lt;/a&gt;
                  &lt;/div&gt;
  
              &lt;/li&gt;';
      }
  }
  wp_reset_query();
  </code></pre>
  
  <p>I've been stuck on this for hours trying out all the different types of loops but I've had no luck. Has anyone come across this problem before?</p>