• I just migrated my site to wordpress and it has search box that searches for posts only and once click it fetches to a specific result page.

    like the searchbox in gsmarena[dot]com

    is it possible to change the link of the found posts in the search box to my customized result page? hope to hear from you…. thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Your theme may have a file called “search.php”. thats the results page. You can edit it to your liking. That’s what I’m working on with my site right now.

    AJ

    (@permaculturetreegeek)

    If you don’t have search.php you can create a copy of your page.php, rename it to search.php and replace the loop with something like this:

    <?php /* Start the Loop */ ?>
    <?php while ( have_posts() ) : the_post(); ?>
    <h3><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a></h3>
    <?php if (function_exists('relevanssi_the_excerpt')) { relevanssi_the_excerpt(); }; ?>
    <?php endwhile; ?>

    Plugin Author Mikko Saari

    (@msaari)

    Yeah, that’s how it works, Relevanssi or not.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Use different result page?’ is closed to new replies.