WordPress.org

Ready to get started?Download WordPress

Forums

Faceted Search
Change results page (7 posts)

  1. Selvester47
    Member
    Posted 2 years ago #

    Hi

    Great plugin was just what I was looking for, just one request...

    Is it possible to alter the page that the results are output to?

    Currently they are displayed on the homepage. I want to be able to display the results on their own results page because the home page has an image slider that spoils the look of the results.

    http://www.leeselvester.com/

    Cheers

    Lee

    http://wordpress.org/extend/plugins/faceted-search/

  2. AndrewUlrich
    Member
    Plugin Author

    Posted 2 years ago #

    A custom search results page is achieved by creating a search results template, namely, search.php, within your theme's folder.

  3. Selvester47
    Member
    Posted 2 years ago #

    Hi

    Ive set up a template called search.php and applied that to a page called search on my site. The results from the faceted search still appear on the home template page.

  4. AndrewUlrich
    Member
    Plugin Author

    Posted 2 years ago #

    I will be checking in a fix for this tomorrow. Sorry about that.

  5. AndrewUlrich
    Member
    Plugin Author

    Posted 2 years ago #

    Please update to version 3.4 to address this issue.

  6. smeyer012
    Member
    Posted 2 years ago #

    Is it possible to utilize a different template other than search.php? I need the results to display differently than the standard search page. If it must use the search.php template, is it possible to use conditional statements to return different output?

  7. smeyer012
    Member
    Posted 2 years ago #

    I guess this applies to this forum post too, so...
    My search template has this code for the title of the page:
    <?php printf( __( 'Search Results for "%s"', 'env' ), '<span>' . get_search_query() . '</span>' );?>
    With your plugin, it then returns "Search Results for facetedsearch"
    I've read in other posts to use $_REQUEST['strm'] to return the categories that are queried but the search.php template is used for general searches too...so I'm gonna need that separate search template or the conditionals to control it.
    ...this is for use with a custom post type & custom taxonomy. $_REQUEST['strm'] should still work for that, correct?

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic