Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2012-11-28 16:33:55
- brunodario
- Member
- From: Belo Horizonte, Brasil
- Registered: 2007-09-19
- Posts: 75
Search box to search posts of one section only?
Is it possible to search posts of one section only using the custom txp tags? How?
If not, is there any plugin to achieve this?
Thx in advance!
Offline
Re: Search box to search posts of one section only?
etc_search should do it:
<txp:etc_search query="{Title,Body} AND Section='one_section'" />
You can make searchable other fields too, just replace {Title,Body}
by {Title,Body,Excerpt,Keywords}
.
Offline