Tell us what you are trying to do?
I am making an archive page with a search box on the top.
The section called WordPress Archive Search appears in the block editor.
On the frontend nothing is visual from the hole section. I even put a plain text block in it.
in the frontend code only <div class="wp-block-toolset-views-custom-search-container"> </div>
With no content.
I added Relevanssi and re-indexed with the available custom fields.
Is there any documentation that you are following?
Yes, https://toolset.com/lesson-placement/lesson-placements-1647613-1622285/#add-a-custom-search-to-an-archive
https://toolset.com/course-lesson/creating-a-custom-search/
What is the link to your site?
You can view the archive page: hidden link
Thanks for helping
Michel
Hi Michel,
Thank you for contacting us and I'd be happy to assist.
Have you checked the server's error logs for any errors or warnings? I'll recommend temporarily turning on WordPress debugging and see if any errors or warnings are recorded.
To troubleshoot this further, I'll suggest the following steps too:
1. Please make sure that WordPress, active theme, and plugins are all updated to the latest versions.
2. It would be interesting to test this with all non-Toolset plugins disabled and a default theme like Twenty Twenty-One.
If it's fixed, you can start adding the disabled items, one by one, to narrow down to a possible conflicting one.
3. In case the issue persists, I'll need to see how this archive's search is set up in the admin area. You're welcome to share temporary admin login details, in reply to this message.
Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.
regards,
Waqar
Thank you for sharing these details.
When I checked the archive 'Patiëntenverenigingen Archive', I noticed a 'Custom Search Filter' block was there. However, the settings of that block were not completed.
I completed its settings and the search form is showing now.
Screenshot Backend: hidden link
Screenshot Frontend: hidden link
Note: The errors that you've shared are not related to the current ticket's topic. But, if you face any challenge or difficulty using Toolset functionality, feel free to start a new ticket.
Hi Waqar,
I don't now what you did but the search box is visible. Great!
BUT
I get only search results for searching in the title of the post.
There is another custom field I need search results from: "Disease organisation".
This is a repeating field. I have also opted in "Include in search".
I changed the setting of the Custom search filter "Where to search" to "Title, body and custom fields".
I have installed Relevanssi and re-indexed. No change.
How can I adjust this?
Thanks for helping
Michel
Thank you for the update and glad this is sorted now.
I've created a separate ticket for your question about the custom field not getting included in the text search.
( ref: https://toolset.com/forums/topic/split-custom-search-with-relevanssi-not-covering-a-custom-field/ )
You're welcome to mark this ticket as resolved and start a new one, for each new question or concern.