1

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?

1 Answer 1

2

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

Screenshot of Channel Preferences

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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