If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #283255


    we have german po/mo files and changes in framework/php/class-framework-widgets.php. Both doesn’t work in the child theme. What can we do?

    Best regards


    Hi DDamjanovic!

    Thank you for using the theme!

    Can you please explain it a little bit more? What are you trying to change specifically?



    We have german po/mo files and changes in framework/php/class-framework-widgets.php for the tag cloud. We move these files to Sentence child theme (correct folders) and nothing happens. No german and no modified tag cloud.

    Best regards



    Unfortunately you’ll need to edit the parent files in that case. Child theme inheritance doesn’t work with php included files which is what the framework is.

    Best regards,


    Hi Devin,

    OK – and the german language files need to be in parent, too?

    Best regards



    Yes, but you can load the translation files from the child threme folder if you add some code to the child theme functions.php file:

    add_action('after_setup_theme', 'avia_lang_setup');
    function avia_lang_setup()
    $lang = get_stylesheet_directory()  . '/lang';
    load_child_theme_textdomain('avia_framework', $lang);

    Best regards,


    K, thank you!

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Sentence Child Theme Problems’ is closed to new replies.