I’m writing on this forum as a last resort. I’ve asked on other forums, with the hosting company, and tried everything I could think of on the website, and I still can’t find the error.
I ended up with this website: https://warynessy.com/, and it has a menu that takes 9 to 12 seconds to load: https://warynessy.com/warynessy-restaurant-menu/ is an exaggeration.
The menu has “Categories” and “Subcategories.” I’m referring to the following: Category “Wine”, Subcategory: “Red D.O. Alicante”, “Red D.O. Rioja”, “White D.O. Ribera del Duero”, etc.
To display it, I used Nested Tabs.
I display the category tabs with a loop. And then to display the category in each tab, I create another loop. And to display categories with subcategories, I create another loop and a conditional to determine if they have a subcategory. And to display categories that don’t have subcategories, I create another loop with a conditional to show if they don’t have a subcategory.
A bit confusing, to be honest. But it works.
As I said, I’ve tried everything I could imagine: caching plugin, removing conditionals, removing loops… I don’t know what to do anymore.
The same could have been done another way, I don’t know.
Hi Nemesio,
Welcome to the forum!
The site loads blazingly fast on my end: CleanShot 2025-05-16 at 08.18.26 · CleanShot Cloud
Best regards,
timmse