Title: Show Search
Last modified: August 21, 2016

---

# Show Search

 *  [GAPD](https://wordpress.org/support/users/gapd/)
 * (@gapd)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/show-search/)
 * Hi, I have two pages that I’d like to show search results. The first is the News
   page which shows all the posts on our site that have the Category set as News.
   This works fine.
 * The other would be a page called Press that would show all the posts that have
   the Category set as Press.
 * I’ve taken the **page-news.php** file as a starting point and renamed it **page-
   press.php**. But I’m not sure what to change in the php file so that it will 
   pull up the results I want.
 * Here is the code from the php file:
 *     ```
       <?php
       /*
       Template Name: Press Release
       */
       ?>
       <?php get_header(); ?>
       <div id="page" class="container right-sidebar blog">
   
         <div class="post column col9">
       	<?php query_posts('paged='.$paged.'&post_type=post');?>
           <?php if (have_posts()) : ?>
           <?php while (have_posts()) : the_post(); ?>
       	<div class="entry-text">
       	<div class="post-meta">
       	 <?php the_time('F j, Y'); ?>
       	</div><div class="clear"></div>
       	<h2><a>"><?php the_title();?></a></h2>
   
       	<div class="thumb"><?php colabs_image('width=100&height=100');?></div>
   
       	<?php colabs_custom_excerpt();?>
       	<div class="clear"></div>
       	<a>"><?php _e('Continue Reading','colabsthemes');?></a>
       	</div>
       	<hr class="column col9 separator">
       	<?php endwhile; ?>
           <?php else : ?>
           <?php _e('Sorry empty post','colabsthemes');?>
           <?php endif; ?>
       	<?php colabs_pagination();?>
         </div><!-- .post -->
   
         <?php get_sidebar(); ?><!-- #sidebar -->
   
       </div><!-- #page -->          
   
       <?php get_footer(); ?>
       ```
   
 * _[Moderator Note: Please post code & markup between backticks or use the code
   button. Your posted code may now have been permanently damaged by the forum’s
   parser.]_

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/show-search/#post-4362912)
 * What theme are you using? Where did you download it from?
 *  Thread Starter [GAPD](https://wordpress.org/support/users/gapd/)
 * (@gapd)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/show-search/#post-4362915)
 * The template is called Minuet and is from Colorlabs.
 * [http://colorlabsproject.com/themes/minuet/](http://colorlabsproject.com/themes/minuet/)
 * I can get the search result I’m after an easier way, using the Menu tabs, but
   when I do it that way, the resulting page comes up without the Menu tabs in the
   header.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/show-search/#post-4362916)
 * I’m sorry but as you are using a non-WPORG theme, you need to seek support from
   the theme’s developers – paid or otherwise. We only support themes downloaded
   from wordpress.org here.
 *  Thread Starter [GAPD](https://wordpress.org/support/users/gapd/)
 * (@gapd)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/show-search/#post-4362919)
 * Odd, I originally got the theme from WordPress site.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/show-search/#post-4362924)
 * It doesn’t appear to be available in [http://wordpress.org/themes/](http://wordpress.org/themes/)

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

The topic ‘Show Search’ is closed to new replies.

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)

 * 5 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/show-search/#post-4362924)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
