Title: willm73's Replies | WordPress.org

---

# willm73

  [  ](https://wordpress.org/support/users/willm73/)

 *   [Profile](https://wordpress.org/support/users/willm73/)
 *   [Topics Started](https://wordpress.org/support/users/willm73/topics/)
 *   [Replies Created](https://wordpress.org/support/users/willm73/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/willm73/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/willm73/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/willm73/engagements/)
 *   [Favorites](https://wordpress.org/support/users/willm73/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Blogroll disappears after using query_posts](https://wordpress.org/support/topic/blogroll-disappears-after-using-query_posts/)
 *  Thread Starter [willm73](https://wordpress.org/support/users/willm73/)
 * (@willm73)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/blogroll-disappears-after-using-query_posts/#post-974345)
 * I may have solved the problem. That is, I found some code that Otto42 posted 
   for someone who had lost the sidebar blogroll for a different reason. With this
   code posted in sidebar.php, the blogroll now appears:
 *     ```
       <ul><li class="listHeader"><h2><?php _e('Archives'); ?></h2>
       <?php wp_get_archives('type=monthly'); ?>
       </ul>
       <ul><?php wp_list_bookmarks('before=<li>&after=</li>&orderby=name&show_description=0&show_updated=1');
       ?>
       </ul>
       ```
   
 * Problem “solved”, although I haven’t learned by using query_post(category_name
   =) in sidebar.php was causing the blogroll to disappear.
 * Will
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Blogroll disappears after using query_posts](https://wordpress.org/support/topic/blogroll-disappears-after-using-query_posts/)
 *  Thread Starter [willm73](https://wordpress.org/support/users/willm73/)
 * (@willm73)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/blogroll-disappears-after-using-query_posts/#post-974178)
 * Oops2: Looks like I need to repost the code:
 * <li class=”widget”><h2 class=”widgettitle”>Posts</h2>
    <?php query_posts(‘category_name
   =Posts’); ?>
    -  <?php while (have_posts()) : the_post(); ?>
    - [”><?php the_title(); ?>](https://wordpress.org/support/users/willm73/replies/”<?php)
    - <?php endwhile;?>
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Blogroll disappears after using query_posts](https://wordpress.org/support/topic/blogroll-disappears-after-using-query_posts/)
 *  Thread Starter [willm73](https://wordpress.org/support/users/willm73/)
 * (@willm73)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/blogroll-disappears-after-using-query_posts/#post-974177)
 * Oh, one more thing: my site is [http://www.sketchmates.com/blog](http://www.sketchmates.com/blog)
 * Thx,
    Will

Viewing 3 replies - 1 through 3 (of 3 total)