Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #29348


    I was wondering, does the Theme Update in the wp-admin work when one is using a Child Theme?

    The last update didn’t occur to me.


    Yes, afaik it should also work with a child theme. However I can’t test the auto update feature and I decided to marked this thread for Kriesi. If he can find a bug he’ll fix it in the next update.


    Worked for me, but I didn’t expect the update to trash my french translation.

    Good thing I had a backup.

    Is there a way to store the translation in the child theme’s folder ? (I guess not)


    You can use following function:
    Create a “lang” folder inside your child theme directory, then upload your mo/po files into this folder. At least add following code to the child theme functioons.php

    add_action('after_setup_theme', 'avia_lang_setup');
    function avia_lang_setup()
    $lang = get_stylesheet_directory()  . '/lang';<br />
    load_child_theme_textdomain('avia_framework', $lang);
    • This reply was modified 3 years, 11 months ago by  Dude.

    thx Dude


    @mp3dk: the only reason I could think off is an invalid name/key combination. You might want to double check that :)

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

The topic ‘Theme Update and Child Theme’ is closed to new replies.