• Resolved Jamimeson

    (@jamimeson)


    Hi there,
    So I am making a site using a child theme of thematic. I was able to customize the output of my search results by using “the_post_thumbnail();” in the function “childtheme_override_search_loop()” of my functions.php. In addition to using faceted search I am also using a plugin to rank posts.
    Everything works if I select a checkbox and run the search.

    The problem is if I select nothing I am taken to the “We could not find any results” page which includes a search bar. If I put nothing in the text field and just hit search I am taken to a page similar to the search results field but with obvious errors (mainly not displaying post thumbnail). I am having trouble finding which page is being called here.

    If its any help thematic is giving the correct search results page the class of “search” and the incorrect search results page the class of “blog”.

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

Viewing 1 replies (of 1 total)
  • Thread Starter Jamimeson

    (@jamimeson)

    I ended up just putting in a jquery validator to block the form from being submitted if it was empty.

Viewing 1 replies (of 1 total)
  • The topic ‘2 different search page results’ is closed to new replies.