Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2011-02-04 19:41:05
- wolfcry911
- Member
- From: MA, USA
- Registered: 2006-06-30
- Posts: 51
include sticky articles in search result
I’m finally building my first TXP site and in testing the search function I noticed that my sticky articles don’t appear in the results even though the search term is found in the article two or three times. How can have sticky articles appear in the resulting search list?
Offline
#2 2011-02-04 20:04:17
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: include sticky articles in search result
Use searchsticky="1"
in your <txp:article /> tag.
Offline
#3 2011-02-04 21:15:49
- wolfcry911
- Member
- From: MA, USA
- Registered: 2006-06-30
- Posts: 51
Re: include sticky articles in search result
thank-you Els, works perfectly. I have the Tag Reference pdf open and somehow missed that.
Offline
Re: include sticky articles in search result
Re.: Tag Reference: I have ‘txptag’ as shortcut in my browser for textbook..wiki..Category:Tag_Reference#mw-pages
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline