Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
exclude a category from if_excerpt
I am using the excerpt for podcasting purposes. it has a notextile in front of it so it’s not very appealing for any frontend use. is there a way to exclude this excerpt from showing up in my article list, and just use the body instead?
the if_excerpt tag doesn’t really have any parameters from what i know.
Offline
Re: exclude a category from if_excerpt
Hi
Have you tried an if_article_category? that can help.
Offline
Re: exclude a category from if_excerpt
mrtunes wrote:
I am using the excerpt for podcasting purposes. it has a notextile in front of it so it’s not very appealing for any frontend use. is there a way to exclude this excerpt from showing up in my article list, and just use the body instead?
Hi
check out your pages and/or forms to see where excerpt appears in the article list context and you can replace with something like:
<txp:if_article_list>
<h3><txp:permlink><txp:title /></txp:permlink></h3>
<txp:body />
</txp:if_article_list>
Having said that, it sounds like you might be able to use a custom_field instead of the excerpt for what you are doing.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Online
Re: exclude a category from if_excerpt
hey thanks for the replies. just to back up a bit, i started using the excerpt area because for some reason, rss_auto_excerpt wasn’t working inside an article_custom loop that i was running inside rah_external_output.
i did try using something like if_article_category, but it start to complicate things a lot. in the meantime i am just going to use a custom_field, because that should be sufficient characters for iTunes.
Offline
Pages: 1