Adding link visibility toggles and drag-and-drop ordering of link items.
You need to subscribe to get full access to the video and lesson content.
Join 4.6K+ learners from companies like Shopify, Microsoft, Tiktok, AppSumo and Instacart.
Sometimes we might want to hide specific links when publishing. To achieve this, we'll add a link visibility toggle. In our link model, we have an is_visible
column that we can use to determine whether or not to show a link on the front end.
Let's add this toggle option to the Link Manager. We'll use the is_visible
column from the link model and implement a switch that users can toggle between on and off to control link visibility on the front end.
We'll update the Link Manager to include a visibility method and an option...
Subscribe now to get full access to the lesson content.
Get started →