Distinguish Posts and Pages in WordPress 2.5 search results
-
Hi — not sure if support is provided for beta releases, but here goes ??
I’m running 2.5-RC1, which includes Pages as well as Posts in search results. Right now, my search template applies Post formatting, which includes meta info like author and date. For any Pages included in results, I’d like to modify the template to use Page formatting (i.e., no meta).
How would I do this? Right now, I’m adjusting formatting based on comments_open (Posts always have comments open, Pages always have comments closed), but I’d like to identify pages more precisely.
Thanks for any help!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Distinguish Posts and Pages in WordPress 2.5 search results’ is closed to new replies.