Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2016-06-22 19:54:49

Karsten
Member
From: Leiden, Netherlands
Registered: 2011-04-24
Posts: 47
Website

Re: Searchable custom fields

I’m using an extremely lowtech solution by simply adding

<!--  
copy paste some values of custom fields that really need to be searchable here but make sure to avoid empty lines between opening and closing tag
 -->

to the bottom of my articles body text. The commented-out content doesn’t show on the site, but is included in the search. Not Ideal, but works perfectly.

Last edited by Karsten (2016-06-22 19:57:36)

Offline

#17 2016-06-22 21:17:38

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,188
Website GitHub

Re: Searchable custom fields

Hi Karsten, you resurrected a very very old thread. Robert (wet) added a method a long time ago called wet_haystack.


TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB