Two different search results templates

  • 1 year, 7 months ago #32785

    Can we create two different search templates with different facets?

    wpsolr
    Keymaster
    1 year, 7 months ago #32788

    Search templates are deprecated: you should use the option on screen 2.1 to display results with your themes’s search template instead.

    You can create several WPSOLR “views”, and define a facet for each of them.

    1 year, 7 months ago #32795

    In our case in the same website we would to use 2 types of templates,
    Example 1:
    All the post types
    Facets with types and sectors

    Example 2:
    Only post types ‘post’
    Facets with ‘tags’

    Is that possible?

    wpsolr
    Keymaster
    1 year, 7 months ago #32796

    Facets are dynamic: only custom fields and taxonomies of the current archive are show.

    So, you can define facets with all your types: on archive type ‘post’ only post fields are shown, on search archive all fields are shown.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.