DE PUS IN FUNCTIONS
<?php
// modify the main query object
function my_modify_main_query( $query ) {
if ( $query->is_tax("mavrck_category") && $query->is_main_query() ) {
$query->query_vars["posts_per_page"] = 10;
$query->query_vars["orderby"] = 'title';
$query->query_vars["order"] = 'ASC';
}
}
// Hook my above function to the pre_get_posts action
add_action( "pre_get_posts", "my_modify_main_query" );
?>