Not working
-
I just installed and activated Relevanssi. I have done the indexing, but whenever I try to look something up, the search results are shown as if I hadn’t installed Relevanssi at all.
Here’s my search.php code
<?php get_header(); ?> <?php if ( have_posts() ) : ?> <header class="page-header"> <h1><?php printf( __( 'Search Results for: %s', 'cloud9' ), '<span>' . get_search_query() . '</span>' ); ?></h1> </header> <?php /* Start the Loop */ ?> <?php while ( have_posts() ) : the_post(); ?> <div class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div> <h1><small><span class="glyphicon glyphicon-time"></span> <?php the_time('M. d, Y') ?></small></h1> <div class="site-content"> <?php the_content(__('Continue reading »')); ?> <?php wp_link_pages(); ?> </div> <hr> <?php endwhile; ?> <?php else : ?> <br /><br /> <h1><?php _e( 'Nothing Found', 'cloud9' ); ?></h1> <p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'cloud9' ); ?></p> <?php get_search_form(); ?> <br /><br /><br /><br /><br /><br /><br /> <?php endif; ?> <?php get_footer(); ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Not working’ is closed to new replies.