Routes
The Onyx theme does not manage routes other than Controllers and Rest API Endpoints.
If you need to create custom routes for your theme or application, consider using one of the WordPress functions and filters:
add_rewrite_rule()add_rewrite_tag()generate_rewrite_rulesrewrite_rules_arraytemplate_includetemplate_redirectparse_requestrequest
You can also use some of the solutions below: