Skip to main content

Search page results

Comments

12 comments

  • KC George

    Hi Riaan,

    Brizy relies on the default WordPress search function for its search results. If you remove the Brizy search template and carry out a search using the theme's search function, you should get the same results. 

    If you are not happy with the default WordPress search function, you can consider extending it with the help of a search plugin. You can start exploring available search plugins from this list. https://www.wpbeginner.com/showcase/12-wordpress-search-plugins-to-improve-your-site-search/

    0
  • Riaan Oliver

    Thank you for your response,

    However WordPress search is working as it should, I have coded a quick standard search.php file, loaded it to my theme and the search results are accurate, please review the screenshot. As you can see I am using the same keyword "ministry" but, Brizy posts or archive elements do not display the correct results.

    Any guidance here would be greatly appreciated.

     

    0
  • KC George

    Hi Riaan,

    Here is a snapshot of the search results page with your revised search.php file. https://jmp.sh/LkgXHhT  

    Please setup a Brizy search template once again and then compare the Brizy search results with the screenshot I have shared here. (Ideally both should have the same results) 

    If the search results do not match, then we will take a look at your WordPress Dashboard.

    0
  • Riaan Oliver

    Hi there, thank you very much for your prompt reply. Here is the screenshot, both Archive and Posts elements are not working :(

     

    0
  • Riaan Oliver

    Hi there, just checking if you have an update? 

    Thank you very much.

    0
  • KC George

    Hi Riaan,

    I have done a comparison of the WordPress default search and the Brizy Search. As you can see the 2nd, 3rd and 4th results of the default search are same as the 1st, 2nd and 3rd results of the Brizy Search. 

    Have you tried filtering your search results by "Title" or "Date" and see if that makes a difference? 

     

    0
  • Riaan Oliver

    KC George, where did you complete the search? I'm not sure what you mean.

    I have given you search results directly from WordPress search.php page (which works perfectly as it should) and Brizy archive elements and Brizy is not displaying correct results.

    I have not set any "order by", by default it's set to ID.

    Screenshot of Archive element

     

    Seach post element

     

    0
  • KC George

    Hi Riaan,

    I was comparing these two

    1. The WordPress default search carried out by you after you have modified the search.php file. Here is the screenshot: https://jmp.sh/LkgXHhT 
    2. The Brizy Search Results you have shared in your comment above. Here is the screenshot.   https://jmp.sh/t5OxFDX

    I have done a comparative analysis of the two and have shared my findings in my previous comment.

    For developing Brizy Search template, you must use the Archive element (and not Post element). Please try changing the filter option in the Archive element and check if the search results match exactly.  

    0
  • Riaan Oliver

    Ok, thank you, but why does it not display the most relevant search first as per search.php page?

    0
  • KC George

    Hi Riaan,

    In the Brizy Archive element, you have three ways to order your results, by ID, Date and Title. Depending on the choice you make here, your search results could be displayed in a slightly different order. 

     

    0
  • Riaan Oliver

    Hi KC George,

    Thank you for your assistance, but that does not fix the issue Brizy elements issue.

    As a workaround is there a way to display Brizy header and footer outside of a Brizy page? or can we display WordPress "the_content"  as a shortcode using the Brizy shortcode element?

    Basically, I would like to use WordPress native functionality to display search results. In my opinion, this is a bug fix that needs to be added to the Brizy roadmap to be fixed as we will never be able to get accurate search results using Brizy.

    Do you have some suggestions on how we can achieve the aboue?

    Thank you

    0
  • KC George

    Hi Riaan,

    All themes have their search results page. If you delete your Brizy Search Template, you would revert to the theme's default search page. Here is an example of the theme (Blocksy)  search page: https://homi.kctest.online/?s=chair

    To use the default theme search for your website, you will need to recreate your website header and footer using your theme's header footer builder. Since you are using Brizy Mega menu (for the rest of your site), it would be hard to replicate its design using a theme's header footer builder. (Since you have modified the default search function, you will have to roll back to the original search before you can use the theme search)

    The default WordPress search function isn't flexible. If you have a requirement to fine tune your search results, your best option is to explore WordPress search plugins which extends the default search functionality. https://www.wpbeginner.com/showcase/12-wordpress-search-plugins-to-improve-your-site-search/

    0

Please sign in to leave a comment.