How to break a date from ACF?

Here you can get separated data from timestamp using date(); function. you can apply different fonts each value. <?php $timestamp = get_field(‘date_time’); $day = date(‘d’, $timestamp); $mon = date(‘m’, $timestamp); $year = date(‘Y’, $timestamp); echo “Day : “.$day.”<br>”; echo “Month : “.$mon.”<br>”; echo “Year : “.$year; ?> if $timestamp value “1567503270” then output will be … Read more

Stuck in Order by more then one

You’ve got the unnecessary array involved around clauses. The correct code is ‘meta_query’ => array( ‘relation’ => ‘AND’, ‘awards_clause’ => array( // clause ‘key’ => ‘awards’, ‘compare’ => ‘EXISTS’, ), ‘points_clause’ => array( // clause ‘key’ => ‘points’, ‘compare’ => ‘EXISTS’, ), ), ‘orderby’ => array( ‘awards_clause’ => ‘DESC’, ‘points_clause’ => ‘DESC’, ),

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)