Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author AndrewUlrich

    (@andrewulrich)

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

    Thread Starter Selvester47

    (@selvester47)

    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.

    Plugin Author AndrewUlrich

    (@andrewulrich)

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

    Plugin Author AndrewUlrich

    (@andrewulrich)

    Please update to version 3.4 to address this issue.

    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?

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Faceted Search] Change results page’ is closed to new replies.