Main Query
Overview
The Main Query loop is a stock Etch loop template for rendering the current query with adjustable count, ordering, and offset values.
Query
<?php
$query_args = [
'posts_per_page' => $count ?? 10,
'orderby' => $orderby ?? 'date',
'order' => $order ?? 'DESC',
'offset' => $offset ?? 0
];