@EpsilonAdmin I don't see the error anymore. Give me a day to troubleshoot further
Full Site Editing Theme - Theme Compatibility Hook
-
Hello,
I'm using a full site editing theme, super bare bones: https://fullsiteediting.com/block-theme-generator/
When I add the plugin it says that Theme Compatibility Hook status is unavailable.
Any thoughts on how to fix that?
-
Hi @inkedraskal
Thank you for the question. Do you really need to install this hook? It is required only for themes that are incompatible with WPFTS without it.
Do you think your theme is not compatible?
"Unavailable" status means we don't know if this hook is required.
I hope this helps.
-
Oh, I thought the hook was required to highlight the text in the search results?
-
Hi @inkedraskal
Yes, both to highlight results and correct search/indexing.Let me know if it's not good with your theme.
-
Hey @EpsilonAdmin !
Interesting. OK, so maybe this isn't working then and it's still using the default search.
Is there anything I can further provide?
Update: I just added "pages" to the post types of non-searchable requests, rebuilt the index, and those are no longer searchable. So the search might be working, but the highlighting isn't.
Not sure if this means the search itself isn't completely working or its just the Front-End output.
-
Hi @inkedraskal
I would be happy to help you with this. As I can see, the theme you created with the given link can be very different. Usually to test and develop a Compatibility Hook I will need to have a theme code closer to that you are using.
So, could you explain how I can create the same (or close) theme that you have to make tests? Or even better if you can send your version of the theme.
Also to test indexing and search without theme clashing I would recommend to use Sandbox Area / Test Search. This tool will return the non-filtered result that is not touched by the theme code.
Please let me know if you can provide more data to me,
Thanks!
-
I've uploaded a zip of what I outputted using their tool.
For content, I just added dummy text using the Gutenberg editor.
<file_downloaded_and_removed>
-
Hi @inkedraskal
Thank you very much, I am going to examine this theme code and return back with my idea or even Hook code.
Thanks!