why is my custom loop failing? October 15, 2022 by Tarik Billa I think your issue is $loop->has_posts(). Try $loop->have_posts().