Title: Using  a custom theme for plugin
Last modified: August 21, 2016

---

# Using a custom theme for plugin

 *  [darren502](https://wordpress.org/support/users/darren502/)
 * (@darren502)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/using-a-custom-theme-for-plugin/)
 * For starters let me say a heartwarming thank you to the developers for this plugin.
   It is because of contributions such as yours that the web is full of life.
 * Now to business…
 * For my web project I’ve created my own custom theme. This is the first time I’m
   using wordpress. I’ve downloaded your plugin and I was able to get a list of 
   all my taxonomies from the database. How when I clicked the submit button…nothing
   happened. When I did some research I saw from the other discussions on this forum
   that you need to inculde the …”get_header()” function for your templates. I have
   this in my templates so I’m not certian this is cause of the error.
 * When i’ve done some more research I read that every template needs a search.php
   in-order to rendered searches. Below is the code for my search.php…
 *     ```
       <?php /**
        * The template for displaying Search Results pages
        *
        * @package WordPress
        * @subpackage DestinationTnT
        *
        */
       get_header();
       ?>
   
       <div>
       		<div>
   
       		<?php if ( have_posts() ) : ?>
   
                           <div>
       				<h1><?php printf( __( 'Search Results for: %s', 'Destination Trinidad and Tobago' ), get_search_query() ); ?></h1>
                              </div>
   
       			<?php /* The loop */ ?>
       			<?php while ( have_posts() ) : the_post(); ?>
       				<?php the_content(); ?>
       			<?php endwhile; ?>
   
       		<?php else : ?>
                           <div style="font-weight:bold; font-size:large;"><?php echo "No search results were found"; ?></div>
       		<?php endif; ?>
   
       		</div><!-- #content -->
       	</div><!-- #primary -->
       ```
   
 * Still the plugin doesn’t work… any ideas??
 * [https://wordpress.org/plugins/search-filter/](https://wordpress.org/plugins/search-filter/)

Viewing 1 replies (of 1 total)

 *  [jmacaluso711](https://wordpress.org/support/users/jmacaluso711/)
 * (@jmacaluso711)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/using-a-custom-theme-for-plugin/#post-5082580)
 * I’m running into the same issue. Created a custom theme and the plugin doesn’t
   seem to be working. Were you able to figure it out?

Viewing 1 replies (of 1 total)

The topic ‘Using a custom theme for plugin’ is closed to new replies.

 * ![](https://ps.w.org/search-filter/assets/icon-256x256.png?rev=3096093)
 * [Search & Filter](https://wordpress.org/plugins/search-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/search-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/search-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/search-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-filter/reviews/)

## Tags

 * [custom theme](https://wordpress.org/support/topic-tag/custom-theme/)
 * [search.php](https://wordpress.org/support/topic-tag/search-php/)
 * [taxonomies](https://wordpress.org/support/topic-tag/taxonomies/)

 * 1 reply
 * 2 participants
 * Last reply from: [jmacaluso711](https://wordpress.org/support/users/jmacaluso711/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/using-a-custom-theme-for-plugin/#post-5082580)
 * Status: not resolved