Skip to content

Instantly share code, notes, and snippets.

Working from home

Catalin Zalog zalog

Working from home
View GitHub Profile
zalog / functions.php
Created Jan 30, 2018
wordpress: change language for theme only
View functions.php
// load default translated strings based on locale
// theme translated strings, modify as you need
load_theme_textdomain( 'zatheme', get_template_directory() . '/languages' );