if ( $query->max_num_pages < 3 ) {
echo '<div class="wrapper wrapper-' . $query->max_num_pages . '-columns"></div>';
}
if ( $query->max_num_pages < 3 ) {
# code...
}
get_the_ID()
if ( $cur_term->parent == 20 ) {
# code...
}