I have two channels on the same page that are essentially pulling the same blog feed. I want to give the client the ability to have an entry featured at the top so I’m using a custom status of ‘Featured’. Ideally, they should just be able to set as many entries as they want as ‘featured’ and have the newest entry stay up top while the other just gets pushed down. My template is set up in the following manner:
{exp:channel:entries channel="blog" status="Featured" limit="1"}
<h1>{title} lorem ipsum</h1>
{/exp:channel:entries}
{exp:channel:entries channel="blog" status="open|Featured"}
<h1>{title} lorem ipsum</h1>
{/exp:channel:entries}Obviously, EE reads these independently of each other and will repeat the entry with the status of ‘Featured’ in the second channel loop. I’m thinking I may have to alleviate this with some PHP but wanted to see if any of your smarter folks had an idea 😊
Thanks for taking a read