New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parent theme's action_template_header doesn't run when child is active #460
Comments
Looking at |
I suspect we need a |
Or we just instantiate the parent, and the constructor will handle loading the hooks. |
Not a bug, it just didn't work how I expected it to work. Extending the parent theme in theme.php instead of Habari's Theme class causes the hooks to be registered. |
I don't see how this is fixed or not a bug? The parent theme.php should run when there is no child theme.php, it does not, at least not action_template_header(). So a child theme.php is always required. |
The wiki clearly is documented as saying a parent theme's theme.php would run if none is present in the child theme. Definitely seems what the intended behavior was, so I'd say it's a bug. |
Create a child theme with Wazi as the parent and no other files. When the child theme is active Wazi's
action_template_header()
should run the same as if Wazi was active but it does not. Other templates are included correctly.The text was updated successfully, but these errors were encountered: