https://thelansingjournal.com/
I’m using the Header Live Search element to be able to search my site for previously published information. I looked at the options for this element in tagDiv Composer, but they all seem to relate to the style the results appear in rather than the quality of the results themselves. Are there any settings I can change that might lead to results that are actually more relevant to my search?
For example, when I search for “Sierra Club,” the first result listed is a story titled “Local Sierra Club to host ‘Members’ Slides Night’,” which is relevant, but it was published in January. Is there a setting that would list results in reverse chronological order, so that “Local Sierra Club to host ‘Birding in the Fall’ (published in October) would be listed first?
Also, the second search result is “Financial concerns force Lansing Country Club to sell,” which does not have the word Sierra in it anywhere, and it was published in 2021, so it is neither relevant nor recent.
Is there any way I can affect the search results I get by changing settings in the Header Live Search element in tagDiv Composer?
Hello @thelansingjournal !
Edit the search template with the TagDiv Composer, click on the results, and check in the block if you have Sort Order: Latest, and it should display in the correct order. It will display the first latest post from December.
But it has the word “club” there. Anyway, if you set the sort order to latest, it won’t display there.
Thank you!
Thanks Bettina, your answer led me to find the Search Template I’m apparently using, in my Cloud Templates. The only Search Template in play is Search Template 40 – Pandemic Pro, so I opened that with tagDiv Composer. On that page I can select the Posts Loop element and see the Sort Order option in the Extra section of the General tab. It was already set to -Latest-, so I didn’t make any changes. Glancing through the other tabs, I don’t see anything else that might impact what results I get or how they are displayed (other than appearance options). Should I try a different Search Template altogether?
Hello @thelansingjournal !
Please try to add a flex block instead of posts loop and see the changes.
Thank you!
I tried Flex Block 1 and Flex Block 2, but they did not seem to respond to any search requests. Then I tried adding a Flex Loop Filter element above the Posts Loop, but choosing any of the different options did not have any impact on the listing of the results. I must be missing a step somewhere.
Hello @thelansingjournal !
Make sure the block has no offset: https://forum.tagdiv.com/offset-feature/
Make a test and deactivate ALL plugins except tagDiv ones, also if you are using a cache plugin, deactivate it, clear all cache and try again.
Let me know the results!
Thank you!