A. sounds easy — and with Publish expired articles? set to the default no it is… this works:<txp:article_custom pgonly="0" section="productions" listform="whatsongrid_now" time="past" sort="Custom_4 asc"/>

But when Publish expired articles? is set to yes it outputs ALL expired articles in the section.

I tried using if_expired in the list form and although it works its probably not a good solution from an overhead pov (especially as there will be hundreds of expired articles):<txp:if_expired><txp:else /><txp:permlink><txp:title /></txp:permlink></txp:if_expired>

I think saccadehas identified the problem in his post in the Feature Ideas forum Expired Articles: Finetuning and his proposed tag attribute solution works perfectly for me (many thanks saccade!), but, unless this is officially adopted, for obvious reasons I’d much rather find a plug-in, workaround or inline php solution to this.

Re: Exclude expired articles when Publish expired articles is set to yes?

I don’t know how it stacks up from the point of view of overhead, but you could use the odd little plugin I just published yesterday. I was already thinking of un-publishing it owing to the direction of this thread, but what you’re requesting is one of the other useful things about the plugin.

Re: Exclude expired articles when Publish expired articles is set to yes?

Hi J Soo
Cheers – I tried out your plugin earlier and I could be mistaken but it seemed I couldn’t get it to exclude expired articles in the output. I’m going to revisit it right now, give it another go and see how I get on. Thanks.

Re: Exclude expired articles when Publish expired articles is set to yes?

Excellent – It works! – sorry for confusion, not sure why it didn’t work first time.

I’m using the standard version of the plug-in and it works ok – btw the alternate version in the current download archive seems to have corrupted – when I open it its just an error message rather than the expected plugin code.