Please could someone tell me how I can get the content (text) of a Custom Module to show up in a search - at the moment only the heading shows on the search results page.
eg if i search for Emma Nash - the results come up just as her name and no link through to content
Hi @Dawn. It’s most likely in your search listing layout, which is found under ‘Content’ > ‘Pages’ > ‘Edit Settings’ > ‘Layouts’.
This layout likely has {{this['description']}} already in it, but I’m guessing your Custom Modules are using a custom field for the main text?
If that’s the case you may need to do some Liquid conditions to display the text in those cases.
This is the code I am using below - but I dont know how to write liquid conditions - I am araid that level of coding is beyond me, please could you advise/help