- This topic has 4 replies, 2 voices, and was last updated 10 years, 5 months ago by .
Viewing 5 posts – 1 through 5 (of 5 total)
Viewing 5 posts – 1 through 5 (of 5 total)
Forums › Forums › Search & Filter Pro › Results PHP order
Hi! Please someone give me help. I want to give the results.php order by name and ASC. My code is:
<?php
if ( $query->have_posts() )
{
?>
<?php
while ($query->have_posts())
{
$query->the_post();
?>
<p><?php the_content(); ?><p>
</div>
<?php
}
?>
Thanks!