Hi,
i’d like to give the user the opportunity to decide whether a news marquee shall be shown or not. I want to do with a on/off button in the kirby panel. Do you know if there is a downloadable plugin available? Or maybe you can help me with a code snippet?
All you need is a field in the panel, for example a checkbox or radio button (or if you want something more stylish, the toggle button), then you can use an if statement that checks the value of that field and either shows the div or not. No need for a plugin.