Site icon Hip-Hop Website Design and Development

Order archive outcomes by put up id in customized taxonomy template

My theme’s archive template makes use of this for the loop,

<?php if (have_posts()) : whereas (have_posts()) : the_post(); ?>

Appears to be ordered by put up title however I would like them ordered by the put up id. Simply need assistance with the syntax i believe. How do I modify the order of the loop record of posts or incorporate this in to the loop? I’m researching this but when anybody has a easy resolution I’d be extraordinarily grateful.

$args = array(
    'orderby'  => 'ID',
    'order' => 'ASC',
);
$question = new WP_query ( $args );