title: Show custom post type taxonomy selected from page's custom field (WP)
body: <p>I've created a custom post type and taxonomy for it. I want admin to be able to chose a taxonomy they want to show on the page when creating a new one (page). I've created a custom page template, and there is a conditional custom field that shows available taxonomies, when that template is selected. Used custom post type UI and advanced custom fields plugins for that. </p>
  
  <pre><code>&lt;?php
      // this one gets taxonomy custom field
      $taxo = get_field('top_to_show');
      // and from here on, it outputs the custom post type
      $args = array(
        'post_type' =&gt; 'top_item',
        'post_status' =&gt; 'publish',
        'tops' =&gt; $taxo
      );
      $lineblocks = new WP_Query( $args );
      if( $lineblocks-&gt;have_posts() ) {
        while( $lineblocks-&gt;have_posts() ) {
          $lineblocks-&gt;the_post();
          ?&gt;
  
  &lt;div&gt;Custom post type layout html&lt;/div&gt;
  
  &lt;?php
        }
      }
      else {
        echo '';
      }
   wp_reset_query(); ?&gt;
  </code></pre>
  
  <p>Now, when I select "Term ID" for taxonomy custom field for the page, it doesn't show anything at all. And when I select "Term Object", it shows all posts from all taxonomies, and not the specifically selected one. </p>
  
  <p>How do I make it show that specifically chosen taxonomy posts?</p>