Link visibility and ordering

32 views
1 hour watched
2 completions

Adding link visibility toggles and drag-and-drop ordering of link items.

Video thumbnail

Get full access

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.

$197
one-time payment

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.

Implementing the Visibility Toggle

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 →