.zagolovok + tr td:nth-child(2) .fa-long-arrow-up {
display: none;
}
table tr td:last-child .fa-long-arrow-down {
display: none;
}
table tr:nth-child(3n) td:last-child .fa-long-arrow-down {
display: inline-block;
}
.zagolovok + tr td:nth-child(2) .fa-long-arrow-down {
display: inline-block;
}
table tr:last-child td:last-child .fa-long-arrow-down {
display: none;
}
$start = '1900-01-01';
$end = '1949-12-31';
$args = array(
'post_type' => 'events',
'posts_per_page' => -1,
'orderby' => 'meta_value',
'order' => 'ASC',
'meta_key' => '_event_date',
'meta_query' => array(
array(
'key' => '_event_date',
'value' => array( $start, $end ),
'compare' => 'BETWEEN',
'type' => 'DATE'
)
)
);
$events_query = new WP_query( $args );
'order' => 'DESC'
меняйте его и будет вам сортировка.dropdown .nav__menu-item-active::after {
bottom: 0px;
}
.current_page_ancestor > a::after, .nav__menu-item-active::after {
content: '';
width: 100%;
height: 3px;
display: block;
position: absolute;
left: 0;
bottom: -22px;
background-color: #dd482d;
}