the order of attribute specifications in a start-tag or empty-element tag is not significant
server {
listen 80;
server_name example.com;
return 301 https://$server_name$request_uri; # enforce https
# rewrite ^(.*) https://www.example.com$uri permanent;
}
position: relative;
z-index: 1;
<?php
$current_category_id = get_query_var('cat');
$categories = get_categories( array( 'child_of' => $current_category_id ) );
if( $categories ){
foreach( $categories as $cat ){
// Данные в объекте $cat
// $cat->term_id
// $cat->name (Рубрика 1)
// $cat->slug (rubrika-1)
// $cat->term_group (0)
// $cat->term_taxonomy_id (4)
// $cat->taxonomy (category)
// $cat->description ()
// $cat->parent (0)
// $cat->count (14)
// $cat->object_id (2743)
// $cat->cat_ID (4)
// $cat->category_count (14)
// $cat->category_description ()
// $cat->cat_name (Рубрика 1)
// $cat->category_nicename (rubrika-1)
// $cat->category_parent (0)
}
}
?>
SELECT * FROM USERS WHERE YEAR(DOB_COLUMN) = YEAR(DOB_USER)
SELECT * FROM USERS WHERE YEAR(DOB_COLUMN) = YEAR(CURDATE()) - AGE