Multi language initial
This commit is contained in:
parent
3a82a1b90f
commit
e64a80c610
|
@ -37,7 +37,7 @@ function akina_setup() {
|
|||
* If you're building a theme based on Akina, use a find and replace
|
||||
* to change 'akina' to the name of your theme in all the template files.
|
||||
*/
|
||||
load_theme_textdomain( 'akina', get_template_directory() . '/languages' );
|
||||
load_theme_textdomain( 'sakura', get_template_directory() . '/languages' );
|
||||
|
||||
|
||||
/*
|
||||
|
@ -113,14 +113,14 @@ function akina_setup() {
|
|||
* Disable the emoji's
|
||||
*/
|
||||
function disable_emojis() {
|
||||
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
|
||||
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
|
||||
remove_action( 'wp_print_styles', 'print_emoji_styles' );
|
||||
remove_action( 'admin_print_styles', 'print_emoji_styles' );
|
||||
remove_filter( 'the_content_feed', 'wp_staticize_emoji' );
|
||||
remove_filter( 'comment_text_rss', 'wp_staticize_emoji' );
|
||||
remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
|
||||
add_filter( 'tiny_mce_plugins', 'disable_emojis_tinymce' );
|
||||
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
|
||||
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
|
||||
remove_action( 'wp_print_styles', 'print_emoji_styles' );
|
||||
remove_action( 'admin_print_styles', 'print_emoji_styles' );
|
||||
remove_filter( 'the_content_feed', 'wp_staticize_emoji' );
|
||||
remove_filter( 'comment_text_rss', 'wp_staticize_emoji' );
|
||||
remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
|
||||
add_filter( 'tiny_mce_plugins', 'disable_emojis_tinymce' );
|
||||
}
|
||||
add_action( 'init', 'disable_emojis' );
|
||||
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
472
options.php
472
options.php
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue