I want to show previous concerts (past concerts) under a special tab. I only want to show past concerts, not current or upcoming concerts that is under a different tab. I tried the following code. Using EE 2.x
{exp:channel:entries channel="concerts" sort="desc" limit="20" show_expired="yes" }
{if expiration_date < current_time}
{concert-info}
{/if}
{/exp:channel:entries}
This does not work it shows both upcoming concerts and past concerts. I double checked and the past concerts have an expired dates and they have expired.
stop_before=
tag and set that tag to now ? docs.expressionengine.com/latest/channel/…parse="inward"
to the end of your opening channel:entries tag