Hi,
I have a tag cloud working perfectly well.
When clicking on a tag cloud link
Result is displayed using tag - php template
How can I sort this list of posts being displayed :
- by date
- title
- or...
Thanks for help
Rgds
Hi,
I have a tag cloud working perfectly well.
When clicking on a tag cloud link
Result is displayed using tag - php template
How can I sort this list of posts being displayed :
- by date
- title
- or...
Thanks for help
Rgds
Thanks for answer but how do I find out which tag ( from tag cloud) was clicked do to a new query and then sort them as instructed ?
try it with something like this:
global $query_string;
query_posts( $query_string . '&orderby=title' );
or
$tag = get_query_var('tag');
query_posts('tag='.$tag.'orderby=title');Thank you
Exactly what I was looking for
Regards from France
You're welcome. I'm glad you got it resolved
Actually I hadn't realized you could retrieve the tag with :
$tag = get_query_var('tag');
After that the problem is solved
Thanks again
You must log in to post.