Display number of query results
-
Hello, i have this query here:
<?php $dataQuery = new ACF_WP_Query( array( 'post_type' => 'post', 'posts_per_page' => -1, // get all posts 'orderby_field' => 'indice', // name of field 'orderby_type' => 'string', // 'int' or 'string' (defaults to 'string') 'order' => 'ASC', 'cat' => '14', )); ?>
i want to display the number of query results in my page.
thank you
- The topic ‘Display number of query results’ is closed to new replies.