problems with single_cat_title after upgrading to 3.0
-
Hi all,
I have just upgraded to version 3.0, and single_cat_title seems to have stopped working in my array, the category title won’t display anymore
here is the code, i’d really appreciate any assistance on this
<?php $display_categories = array(8,1,28,11); foreach ($display_categories as $category) { ?> <div class="clearfloat"> <?php query_posts("showposts=1&cat=$category"); $wp_query->is_category = false; $wp_query->is_archive = false; $wp_query->is_home = true; ?> <h3><a href="<?php echo get_category_link($category);?>"> <?php single_cat_title(); ?> </a> </h3>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘problems with single_cat_title after upgrading to 3.0’ is closed to new replies.