Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Webzilla

    (@webzilla)

    I did activate the human-child theme in WP, very easy – uploaded it and activated. I suspect the problem is in my PHP coding, as I’m a bit lost outside HTML ??
    I’m stuck here, as I do not want to make any changes to the theme before I have the language in place at least.

    Webzilla

    (@webzilla)

    Hi,
    changed the languages files to Norwegian with PoEdit, put them in a new folder called
    hueman-child/languages/

    Changed functions.php in hueman-child folder to this:

    <?php
    /**
     * Setup My Child Theme's textdomain.
     *
     * Declare textdomain for this child theme.
     * Translations can be filed in the /languages/ directory.
     */
    function my_child_theme_setup() {
    	load_child_theme_textdomain( 'hueman-child', get_stylesheet_directory() . '/languages' );
    }
    add_action( 'after_setup_theme', 'my_child_theme_setup' );
    ?>

    — and it does not work. It uploads fine, but it’s still in english. What have I forgotten? I’m going nuts! Help!

Viewing 2 replies - 1 through 2 (of 2 total)