hello i just added date input by using metabox but i can’t sort the loop in the front end page by latest metabox input date
i try this

$args = array(
'post_type'  => 'post',
'meta_key'       => 'meta_date', 
'meta_value_num' => ,
);
query_posts($guide); if(have_posts()){
 while(have_posts()) : the_post();
 echo get_the_title();
 endwhile;
}

but doesn’t work for me ,
is there anyway to do that by using loop,thanks

Read more here: get wordpress post loop by meta box date


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: