Change the default loop with CodeBlock

Marko Krstić
11 Sep 2020
<?php
	global $query_string; // required
	$posts = query_posts($query_string."&orderby=title&order=ASC");
?>

Place it above Repeater or East Posts

Was this article helpful?

Tags

Categories

Never miss new post again

Subscribe and get list of new posts in your inbox

Click to Copy