Roots Discourse

Controller Template id

Greetings and thanks in advance.

I have a template for id page-74.blade.php. How can I build a controller for that type of template?

Thanks for the help

Hey @helgi,

Take a look at the controller docs here: https://github.com/soberwp/controller/

The fundamental way of doing it is to find the most appropriate class on the body element for that template, and then name the controller after that class.

This topic was automatically closed after 42 days. New replies are no longer allowed.