Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Carefully study the specification of java and bytecode. You sit down and start writing.
tax_query should have an array for each condition:
<?php $news = get_posts([
'post_type' => 'new',
'tax_query' =>
]);
foreach((array) $news as $post) {
setup_postdata($post);
the_title('<h2>', '</h2>');
}
wp_reset_query(); ?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question