• zeaks

    (@zeaks)


    IS there any way to remove require get_template_directory() . /inc/somefile.php'; from the parent theme using a child theme?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi zeaks, have you found any solution to this?

    Thread Starter zeaks

    (@zeaks)

    This had to do with the theme customizer and extending existing options. I ended up removing the functions the file contained then adding them back the way I needed using custom functions.

    I wrote an article on adding generic icons to twenty twelve where I had to do something the same by adding the meta function and customizing it in a child theme https://zeaks.org/use-genericons-with-twenty-twelve-theme/

    Some functions can be copied to the child theme and customized like the meta in 2012, and some need to be removed then added back in the child theme like twenty twelve fonts

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove required file in child theme’ is closed to new replies.