Question:
Is there a way to show/hide menu items based on a CMS entry?
Product:
Wix Studio Editor
What are you trying to achieve:
We have a handful of menu items that we want to turn on or off based on the content of related CMS entries. For example, our monthly letter from our president only needs to be shown on the website when the president has submitted a monthly letter. I’m hoping there’s an API that lets me hide menu items. This is one of the nice to have’s so we don’t have to do it manually every month.
What have you already tried:
We’re just doing it by hand and sometimes we forget.
Additional information:
A REST API would be idea, because we manage a lot of our content using REST. But master.js Velo would work too. Cron jobs in velo seem an obvious choice to decide whether to hide/show for the following day.