I'm using the native EE simple search, and I'm using the {excerpt} tag, which displays the correct information on all the search results except for an audio file that pulled up in the results. For the audio file, it displays the url to the file. How would I prevent this from happening?


In your Channel Preferences, you can select which field is used for the contents of {excerpt}.

Screenshot of Channel Preferences

| improve this answer | |
  • i'm unsure, but maybe it is also possible to conditionally display the excerpt. {if channel_id !="3"}{excerpt}{/if}. – GDmac Feb 27 '13 at 13:40
  • Yes, that would work. – Derek Hogue Feb 27 '13 at 13:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.