Gute Idee - habe ich grade mit der index.php von Kubrik gemacht:
<?php
/**
* @package WordPress
* @subpackage Default_Theme
*/
get_header(); ?>
<?php query_posts($query_string. "&order=ASC"); ?>
<div id="content" class="narrowcolumn" role="main">
<?php if (have_posts()) : ?>
Alles anzeigen
Geht auch nüscht.
Edit:
Wenn ich mir mit echo die Funktion query_posts() ausgeben lasse, erhalte ich "Array", also hab ich mir mal mittels
print_r( query_posts($query_string. "&order=ASC"));
das Array auswerfen lassen.
Array
(
[0] => stdClass Object
(
[ID] => 5
[post_author] => 2
[post_date] => 2009-09-03 16:22:59
[post_date_gmt] => 2009-09-03 14:22:59
[post_content] => <p>sdthrthwrthwrth 65jejt je ztjze j ze jj<!--more-->ß0´+</p>
[post_title] => Test2
[post_excerpt] =>
[post_status] => publish
[comment_status] => open
[ping_status] => open
[post_password] =>
[post_name] => test2
[to_ping] =>
[pinged] =>
[post_modified] => 2009-09-03 16:22:59
[post_modified_gmt] => 2009-09-03 14:22:59
[post_content_filtered] =>
[post_parent] => 0
[guid] => http://xxxx/?p=5
[menu_order] => 0
[post_type] => post
[post_mime_type] =>
[comment_count] => 0
)
[1] => stdClass Object
(
[ID] => 1
[post_author] => 2
[post_date] => 2009-09-02 23:02:22
[post_date_gmt] => 2009-09-02 21:02:22
[post_content] => <p>Willkommen zur deutschen Version von WordPress. Dies ist der erste Artikel. Du kannst ihn bearbeiten oder löschen. Um Spam zu vermeiden, geh doch gleich mal in den Pluginbereich und aktiviere :twisted: die entsprechenden Plugins. So, und nun genug geschwafelt - jetzt nichts wie ran ans Bloggen!</p>
[post_title] => Hallo Welt!
[post_excerpt] =>
[post_status] => publish
[comment_status] => open
[ping_status] => open
[post_password] =>
[post_name] => hallo-welt
[to_ping] =>
[pinged] =>
[post_modified] => 2009-09-03 15:56:41
[post_modified_gmt] => 2009-09-03 13:56:41
[post_content_filtered] =>
[post_parent] => 0
[guid] => http://xxxx/?p=1
[menu_order] => 0
[post_type] => post
[post_mime_type] =>
[comment_count] => 0
)
)
Alles anzeigen
Das zeigt, das da gar nichts sortiert wird, es ist wie Standart DESC
Ideen dazu?