Registering routes inside of a child theme
Not been able to test extensively so I may be barking up the wrong tree here, but I was really struggling to get any routes firing after following the docs and YouTube videos quite carefully. Eventually worked out when I did away with my child theme and moved all the code to a master theme then the routes registered. Wondered if this is a known problem or possibly there was something else in play here?
I am also unable to trigger any code when using subthemes. Fortunately, I saw your issue, otherwise I would have been looking for a bug for a long time
@sunxiyuan @14nd90
TypeRocket is currently designed to use just the parent themes version of code. For child themes, we recommend applying filter and action hooks in the parent theme and accessing them in the child theme.
Also, we are working toward version 7 of TypeRocket to make the framework even more flexible for everyone.