Skip to content

Instantly share code, notes, and snippets.

Catalin Zalog zalog

Block or report user

Report or block zalog

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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' );
You can’t perform that action at this time.