Skip to content

Instantly share code, notes, and snippets.

@epicdaze
Created June 16, 2011 17:13
Show Gist options
  • Save epicdaze/1029717 to your computer and use it in GitHub Desktop.
Save epicdaze/1029717 to your computer and use it in GitHub Desktop.
#wordpress - load child theme language files #language #localization #L10n #childtheme
<!-- /* To load language files from a subfolder in a theme child, add this in its functions.php file: */ -->
<?php
load_child_theme_textdomain('parentThemeFolderName', dirname(__FILE__).'/languageSubfolderNameInChildTheme');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment