Title: Sidebar calling Single.php
Last modified: August 19, 2016

---

# Sidebar calling Single.php

 *  [benblei](https://wordpress.org/support/users/benblei/)
 * (@benblei)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/sidebar-calling-singlephp/)
 * I have this code in my sidebar:
 *     ```
       <?php
       								$feature_query_side = new WP_Query('category_name=featured&showposts=5');
       					  		while ($feature_query_side->have_posts()) : $feature_query_side->the_post();
       					?>
       						<li>
       							<span class="title"><a href="<? the_permalink(); ?>" rel="bookmark" title="Permanent link to <? the_title(); ?>"><? the_title(); ?></a></span>
       							<span class="meta"><? the_time('F jS, Y'); ?> / <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></span>
       						</li>
       					<? endwhile; ?>
       ```
   
 * And it for some reason is pulling single.php. Any guesses? If I simple type ”
   SINGLE.PHP” in single.php it spits out “SINGLE.PHP” under the
    - …

The topic ‘Sidebar calling Single.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [benblei](https://wordpress.org/support/users/benblei/)
 * Last activity: [18 years, 2 months ago](https://wordpress.org/support/topic/sidebar-calling-singlephp/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
