Related Items - read the manual - how do I set it up?

$related = $item->related()
    ->byTags()
    ->limit(5)
    ->excludeSelf()
    ->get();

// Or find by multiple criteria
$related = $item->related()
    ->by(['genre', 'mood', 'instruments'])
    ->in('blog')
    ->limit(3)
    ->get();

Where does the above code go?

I can no longer load my project as it is 3.09 gb now…

In the second Picture - I would like the user to be able to choose their favorites: genres, mood, instruments… Is this possible?

Not sure if this is a hook? resource? html?

You can use the Related Items Component…

Also, don’t store 3GB of audio files in the project (that’s madness), I would recommend using the Remote Resource URL feature.

Because - right now there isn’t much traffic - I don’t need the remote resources (yet)

I have the related items loaded in the item page - tags selected - 3 columns

Sorry - Don’t quite understand what to do?

I thought it would populate my: mood, genre, and instruments ‘tags’ from this markdown file?

genre:
Funk
mood:
Energetic
instrumentation:
Guitar
Bass
Drums
Synths

Or?

Figured out - probably need the {{ }}

Here is the markdown:

Here is what I’m trying (not working)