Loading child and parent tempale
-
Hi,
I need to translate strings from my child theme, but i need to translate and parent theme also.
When i load the child theme texdomain:
function solid_construction_setup() { $path = get_stylesheet_directory().'/languages'; load_child_theme_textdomain( 'solid-construction-child', $path ); } add_action( 'after_setup_theme', 'solid_construction_setup' );
the translations from the parent theme disappear.
Can you help me?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Loading child and parent tempale’ is closed to new replies.