• I have installed Relevanssi and am not getting any search results. Here is the code on the page. Do you have any suggestions to help get the results from the plugin?

    Thanks!

    <?php if (have_posts()) : ?>
    <?php get_search_form(); ?>
    <h2 class=”pagetitle”>Search Results for : <?php the_search_query();?></h2>

    <div class=”navigation” style=”overflow: hidden;position: relative;”>
    <div class=”pull-right”><?php next_posts_link(‘ Next Result » ‘) ?></div>
    <div class=”pull-left”><?php previous_posts_link(‘« Previous Result’) ?></div>
    </div>

    <?php while (have_posts()) : the_post(); ?>
    <div <?php post_class() ?>>
    <h3 id=”post-<?php the_ID(); ?>”>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h3>
    <small><?php //the_time(‘l, F jS, Y’) ?></small>
    <div>
    <?php the_excerpt(); ?>
    </div>

    </div>
    <?php endwhile; ?>

    <div class=”navigation”>
    <div class=”pull-right”><?php next_posts_link(‘Next Result » ‘) ?></div>
    <div class=”pull-left”><?php previous_posts_link(‘« Previous Result’) ?></div>
    </div>

    <?php else : ?>
    <h2 class=”center”>Search result not found. Try a different search?</h2>
    <?php get_search_form(); ?>
    <?php endif; ?>

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Need help to get search working’ is closed to new replies.