Hello, this might be a basic question but I’m quite struggling with it.
I want to create a custom endpoint (something like https://domain.tld/endpoint), this should use a specific Sage 9 template (let’s say …/themes/sage/templates/my-endpoint.blade.php).
Note: This should NOT be a page. I know I can just create a custom page template and add it to a standard WordPress Page post type.
What’s the best approach to this?
Bonus if using Sage 9 best practices