Inhoudsopgave (2)

Blijkt dus dat het nog simpeler kan. In plaats van:

$posts=query_posts($query_string."&posts_per_page=-1");

kan dit ook:

$posts=query_posts($query_string."&orderby=title&order=asc&posts_per_page=-1");

En dan heb ik die andere functie cmp niet meer nodig!

 

Geef uw reactie

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>