Support

Account

Home Forums General Issues show acf if certain value Reply To: show acf if certain value

  • Yes that’s right. But it doesn’t work …
    with what needs to be heard here?

    <?php
      $ad_args = array(
        'post_type'       => '3d_drucker',
        'orderby'         => 'rand',
        'meta_query'      => array(
          array(
            'key'     => '3ddruck-verfahren',
            'value'   => 'SLS',
          )
        )
      );
    
    // query
    $ad_query = new WP_Query($ad_args);
    ?>