niekmagelaan
Forum Replies Created
-
Hi jarnovos,
I searched for this under string translations earlier but couldn’t find it. Saving again like you mentioned solved the issue.
Thanks for the fast response!
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Link to page where custom field is shownThank you very much for the proposed solution. I’ll try this out and get back to you with the results.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Link to page where custom field is shownEach ‘block’ is a post in the wp_posts table with the ‘post_parent’ column connecting it to a page. Each ‘block’ is just a repeatable field group made with Toolset, which is visible depending on the template used.
I do a query in the template to get all ‘block’ repeatable fields belonging to that page and display them that way.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Link to page where custom field is shownThanks for the quick response. The pages are already set to be indexed, but the content from the custom fields doesn’t seem to be indexed with it.
I did say earlier that ‘block’ is a custom post type but that’s not true. each ‘block’ is a repeatable field group (made with Toolset Types).
like this: https://pedeobe.webhosting.be/wp-content/uploads/2020/03/Schermafbeelding-2020-03-26-om-08.58.55.png
EDIT: I followed this guide: https://toolset.com/documentation/user-guides/views/searching-texts-custom-fields-views-relevanssi/
- This reply was modified 4 years, 8 months ago by niekmagelaan.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Link to page where custom field is shownHi Mikko,
The settings are indeed set to index the custom post type ‘block’. These blocks are used to lay-out and fill the pages with content. This content needs to be available in the search results, hence the custom post type is indexed.
I would like to be able to redirect to the page where these ‘blocks’ are used not the block itself, since they are never a page on their own, but always part of a page. (a certain block is always a child of a page and a page can have multiple blocks but only belong to 1 page)
I hope I made things clear.
Thanks in advance!