\i-excel-child\functions.php
<?php
/*
*
* i-excel Functions - Child Theme
* ------------------------------------------------
* These functions will override the parent theme
* functions.
*
*
*/
add_action( 'wp_enqueue_scripts', 'iexcel_child_enqueue_styles' );
function iexcel_child_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
}
// Add lang in Child theme
add_action('after_setup_theme', 'iexcel_child_set_text_domain');
function iexcel_child_set_text_domain(){
load_theme_textdomain( 'i-excel', get_stylesheet_directory() . '/languages' );
}
I added this code, it works.
-
This reply was modified 7 years, 4 months ago by Vad.