• Hello.

    I want to list posts with custom taxonomies. they are fiyataraligi, videoformati, ekranboyutu, taramahizi, cozunurluk. And i’ve written a code;

    $query = new WP_Query( array( 'relation' => 'AND', 'fiyataraligi' => ''.$fiyataraligi.'', 'videoformati' => ''.$videoformati.'', 'ekranboyutu' => ''.$ekranboyutu.'', 'taramahizi' => ''.$taramahizi.'', 'cozunurluk' => ''.$cozunurluk.'' ) );
    while ( $query->have_posts() ) : $query->the_post();

    title, content, endwhile.

    but, i don’t see ant post. what is wrong?

    thanks.

  • The topic ‘Custom Taxonomy Query’ is closed to new replies.