• I have upgraded to 2.3. Until this, I used the following syntax for query_posts, that worked out of the box, ordering posts from one category, within the current month.
    Is there any change in WP 2.3 code related to query_posts, or there is another way to achieve above mentioned query string?

    URL : http://fge.org.ro

    Code used

    <?php $current_month = date('m'); ?>
    <?php $current_year = date('Y'); ?>
    
    <?php query_posts("cat=1&year=$current_year&monthnum=$current_month&order=DESC"); ?>
    
        <?php if (have_posts()) : ?>
    		<?php while (have_posts()) : the_post(); ?>

    etc.

    Thanks,
    Alex

The topic ‘query_posts change in 2.3?’ is closed to new replies.