Hi, I am trying to target language-specific search results in the hubspot search function on this site https://www.cogencyglobal.com/en-gb/ at the moment it shows everything on the us site and uk site when using the site search functions.
You can clone the "Site Search Input" module to create your own custom search and add in hidden inputs to specify parameters. So you could add in the limit like this:
What I'm struggling a little with is setting the language condition to check for the page language. In theory you should be able to use content.language.languageTag to get the language like this:
You can clone the "Site Search Input" module to create your own custom search and add in hidden inputs to specify parameters. So you could add in the limit like this:
What I'm struggling a little with is setting the language condition to check for the page language. In theory you should be able to use content.language.languageTag to get the language like this: