Title: Plugin isnt working
Last modified: August 22, 2016

---

# Plugin isnt working

 *  [jopsen](https://wordpress.org/support/users/jopsen/)
 * (@jopsen)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/plugin-isnt-working-4/)
 * hey,
 * im totally new in WordPress. I want to use this nice Plugin by using the wolf-
   starter theme. This is my search.php
 * <?php
    /** * The template for displaying Search Results pages. * * [@package](https://wordpress.org/support/users/package/)
   wolf */
 * get_header(); ?>
 *  <section id=”primary”>
    <div id=”content” role=”main”>
 *  <?php if ( have_posts() ) : ?>
 *  <header class=”page-header”>
    <h1 class=”page-title”><?php printf( __( ‘Search
   Results for: %s’, ‘wolf’ ), ‘<span>’ . get_search_query() . ‘</span>’ ); ?></
   h1>
 *  </header><!– .page-header –>
 *  <?php /* Start the Loop */ ?>
    <?php while ( have_posts() ) : the_post(); ?>
 *  <?php do_action(‘wolf_before_search-results’); ?>
 *  <?php get_template_part( ‘content’, ‘search’ ); ?>
 *  <?php do_action(‘wolf_after_search-results’); ?>
 *  <?php endwhile; ?>
 *  <?php if (function_exists(‘relevanssi_the_excerpt’)) { relevanssi_the_excerpt();};?
   >
 *  <?php else : ?>
 *  <?php get_template_part( ‘no-results’, ‘search’ ); ?>
 *  <?php endif; ?>
 *  </div><!– #content –>
    </section><!– #primary –>
 * <?php get_sidebar(); ?>
    <?php get_footer(); ?>
 * what do i have to do, to get this plugin running?
 * Thank you for your help
 * [https://wordpress.org/plugins/relevanssi/](https://wordpress.org/plugins/relevanssi/)

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

 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/plugin-isnt-working-4/#post-5303582)
 * How exactly is the plugin not working? There’s nothing wrong with your serach
   results template (except that the relevanssi_the_excerpt() call is in the wrong
   place, it should be next to the get_template_part(‘content’, ‘search’);, and 
   even more accurately inside that.
 *  Thread Starter [jopsen](https://wordpress.org/support/users/jopsen/)
 * (@jopsen)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/plugin-isnt-working-4/#post-5303587)
 * When i try to search something on my blog it say there are no results!
    Ok thank
   you can u do it for me please? here is my original search.php. I would appreciate
   that so much.
 *     ```
       <?php
       /**
        * The template for displaying Search Results pages.
        *
        * @package wolf
        */
   
       get_header(); ?>
   
       	<section id="primary">
       			<div id="content" role="main">
   
       		<?php if ( have_posts() ) : ?>
   
       			<header class="page-header">
       				<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'wolf' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
       			</header><!-- .page-header -->
   
       			<?php /* Start the Loop */ ?>
       			<?php while ( have_posts() ) : the_post(); ?>
   
       				<?php do_action('wolf_before_search-results'); ?>
   
       				<?php get_template_part( 'content', 'search' ); ?>
   
       				<?php do_action('wolf_after_search-results'); ?>
   
       			<?php endwhile; ?>
   
       			<?php wolf_content_nav( 'nav-below' ); ?>
   
       		<?php else : ?>
   
       			<?php get_template_part( 'no-results', 'search' ); ?>
   
       		<?php endif; ?>
   
       		</div><!-- #content -->
       	</section><!-- #primary -->
   
       <?php get_sidebar(); ?>
       <?php get_footer(); ?>
       ```
   
 * thank you
    regeards
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-isnt-working-4/#post-5303620)
 * Did you build the index succesfully? Can I see your site?
 *  Thread Starter [jopsen](https://wordpress.org/support/users/jopsen/)
 * (@jopsen)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-isnt-working-4/#post-5303621)
 * I dont know, what do you mean. no sorry its local.
 *  Thread Starter [jopsen](https://wordpress.org/support/users/jopsen/)
 * (@jopsen)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-isnt-working-4/#post-5303623)
 * ah ok i built the index
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-isnt-working-4/#post-5303640)
 * Does it work now?
 *  Thread Starter [jopsen](https://wordpress.org/support/users/jopsen/)
 * (@jopsen)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-isnt-working-4/#post-5303678)
 * no sorry
    i have no idea
 *  Thread Starter [jopsen](https://wordpress.org/support/users/jopsen/)
 * (@jopsen)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-isnt-working-4/#post-5303680)
 * the index is there. Can u please construct my search.php`?
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-isnt-working-4/#post-5303693)
 * The search.php you have is fine, it doesn’t need any modifications for Relevanssi.
   The problem is somewhere else, and with the information I have, I don’t know 
   where.

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

The topic ‘Plugin isnt working’ is closed to new replies.

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

 * 9 replies
 * 2 participants
 * Last reply from: [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-isnt-working-4/#post-5303693)
 * Status: not resolved