Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
'hu' functions don't work in child themes #564
hu_get_content and hu_get_template_part don't include files from tmpl/ or parts/ in the parent theme or modified versions in the child theme.
hu_is_authorized_tmpl is stopping any files apart from the standard six from being included.
This breaks all the theming. I can create custom post_types but I cannot theme them using the human theme parts.
Some parts of the theme are looking for specific post_types rather than excluding the ones it doesn't want so styles are not applied uniformly either.
I found a fix, but had to make it in the parent theme and so will have to edit the parent theme after every update. Hence, requesting the developers to do this small change:
A detailed log of my use case is in the wordpress support forum in this topic.
This will enable child theme users to re-define the
I also found through this that whlle the the documentation says that the hueman child theme will first look in child theme folder for the file and then in parent theme folder with the only exception being functions.php, this wasn't the case for