Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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