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

    Hello,

    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.

    #140428

    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.

    #140429

    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)

    #140430

    You can use following function: http://codex.wordpress.org/Function_Reference/load_child_theme_textdomain
    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 11 months, 3 weeks ago by  Dude.
    #140431

    thx Dude

    #162538

    @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.