Support » Fixing WordPress » Enqueue parent theme Include/options/modules in child theme?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I don’t think it’s a problem with your child theme I think this is an issue with the parent Shamrock theme. It’s an issue that should be brought to the developer of said theme to fix ( through their support forums )

    The problem is that there’s a few places where get_stylesheet_directory_uri() is used which assumes that the files will be pulled from whatever the current theme is ( in this case your child theme ) but that may not necessarily be the case.

    For example:


    Sets a class URL by get_stylesheet_directory_uri() but references it in many of the enqueue hooks as a path to the parent theme. They should be using get_template_directory_uri() instead, which will return URL specifically for the parent theme.

    We can see Kirki::$url is used many times throughout the theme, lots of enqueues in


    You can copy the entire assets directory into your child theme which may fix some issue but as a whole this issue lies with the theme developer for them to push an update for.

    Thread Starter arothmanmusic


    You are a gentleman and a scholar. 😉 I’ve copied that folder to my child theme and it fixed my issue. But I will pass on the word to the dev.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Enqueue parent theme Include/options/modules in child theme?’ is closed to new replies.