Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Catalin Zalog zalog

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