How to get the site id for search results in Low Search
I am wanting to display the site name in the search results so I am needing to get the site id for each entry in the search results. Is there a way to do that?
I am wanting to display the site name in the search results so I am needing to get the site id for each entry in the search results. Is there a way to do that?
Replies
Low 6 Jan 2015 09:32
You can use the native {entry_site_id} variable for that.
Aaron Krug 6 Jan 2015 12:08
Thanks
Aaron Krug 6 Jan 2015 15:02
Is there there a way to also get site name? I have tried {entry_site_name} and {entry_site_label} and neither works.
Thanks
Low 6 Jan 2015 15:06
If it's not available in the native channel:entries tag, then it isn't available in the Results tag either, I'm afraid.
Aaron Krug 6 Jan 2015 15:25
Ok thanks