I’m trying to follow the guide on filtering content by tags. I rewrote line 4 of the Blog controller as such:
$articles = $page('projects')->children()->visible()->flip();
The error I’m getting is: Function name must be a string
in that specific line.
This is a screenshot that shows my current project layout (it’s basically the kirby starterkit with some changes). And here is the controller and the template.
What am I doing wrong?