Show NOT Featured Pages?
Permalink 1 user found helpful
I have a block on home homepage that show 3 Featured articles. Underneath that I want a block that shows 1 article that is NOT featured.
In my view.php file I simply tried doing if(!is_featured) but I quickly figured out that since I'm only asking for one page, the first page it grabs is a featured page and then nothing outputs.
I basically need to filter the entire array to be non-featured pages before I cycle through it.
How do I do that?
In my view.php file I simply tried doing if(!is_featured) but I quickly figured out that since I'm only asking for one page, the first page it grabs is a featured page and then nothing outputs.
I basically need to filter the entire array to be non-featured pages before I cycle through it.
How do I do that?
I feel like there is a better way to do this, no?