WordPress.org

Support

Support » How-To and Troubleshooting » Asides in Sidebar Broke

Asides in Sidebar Broke

  • I had this code, which I got from the codex for asides posts:

    <ul class="sideblog">
    						<?php $my_query = new WP_Query('category_name=noteworthy&showposts=3');  while ($my_query->have_posts()) : $my_query->the_post();  $do_not_duplicate = $post->ID; ?>
    						<li><?php the_excerpt(); ?>
    						<small><a href="<?php the_permalink(); ?>">Permalink</a> — <?php comments_popup_link(__('No Opinions'), __('1 Opinion'), __('% Opinions')); ?><?php edit_post_link('Edit', ' — '); ?></small></li>
    						<?php endwhile; ?>
    					</ul>

    It worked fine in 2.2.3. But when I upgraded to 2.3.3 it stopped showing my posts. I don’t get errors, its just empty.

    Can someone help me out?

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Asides in Sidebar Broke’ is closed to new replies.