To insert code use <code>...</code>.
Customizing Search Results and what happens when no records are found
  • Hi!

    While testing search with Striking I noticed a few issues:

    - The search results are organized in "blocks", ie, as in search results were displayed in two column format. How do I change that?

    - If there are lot of records, where do I define pagination to avoid having a very long page?

    - If I search for a word I know is not in the system, the theme shows the breadcrumb correctly but empty content. I have tested this behavior to be occurring in your own demo site: http://kaptinlin.com/themes/striking/?s=chico (just an example ;) )

    It would be great to be able to somehow customize to show "No content found" and a height so that the footer doesn't go above the fold.

    Thanks again for your kind support!

    Martin
  • 5 Comments sorted by
  • Hi Martin

    see the striking advanced settings and the blog settings.

    You can enter the search results not found anything message.

    In the blog settings you can set the nothing found text.

    You can put in something like this


    <div class="info">
    <div class="message_box_content">Nothing found which matches the given search criteria..... Please try again.</div>
    <div class="clearboth"></div>


    In the striking advanced settings you have control over the breadcrumb and the searchresult page title.

    Best regards,
    Striking Team
    Paul
  • Thanks Paul, great, also I found the link below to further customize search results. It works great.

    http://kaptinlin.com/support/discussion/4957/translate-search-results-page-customization-how-to/p1

    And to answer my other question about how to display search results, it is basically driven by the blog settings, so that means Striking > Blog and choose Column Layout in the Blog General section.

    But, I still have the question about pagination when I get a lot of search results. Where can I define when the pagination "More" (or similar) to show up?

    Thanks again,

    Martin

  • Hi Martin,

    Looking at the search result php code it should start paginating. If i read correctly what you are saying is that it does not? Correct?

    Can you give us a link to a search which you belive should be paginated and which does not.

    Best regards,
    Striking Team
    Paul
  • Hi Martin

    That native ability to
    bagpiper said:


    But, I still have the question about pagination when I get a lot of search results. Where can I define when the pagination "More" (or similar) to show up?
    does not exist in Striking.

    You can only set the number of items to list in the wordpress reading section before pagination starts. So this is the only limiter available for individual searches that you can use natively.

    We don't plan to make any native changes to Striking for this as we want Striking to remain static for a while other then some error corrections we are releasing shortly.

    Best Regards
    Striking Team
    James
  • No problem James,

    Thanks for the clarification. Sounds like a good plan.

    Have a great summer!

    Martin
This discussion has been closed.
All Discussions