first commit
This commit is contained in:
5
wp-content/themes/calla/framework/modules/wpml/load.php
Normal file
5
wp-content/themes/calla/framework/modules/wpml/load.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
if ( calla_elated_is_wpml_installed() ) {
|
||||
include_once ELATED_FRAMEWORK_MODULES_ROOT_DIR . '/wpml/wpml-functions.php';
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
if ( ! function_exists( 'calla_elated_disable_wpml_css' ) ) {
|
||||
function calla_elated_disable_wpml_css() {
|
||||
define( 'ICL_DONT_LOAD_LANGUAGE_SELECTOR_CSS', true );
|
||||
}
|
||||
|
||||
add_action( 'after_setup_theme', 'calla_elated_disable_wpml_css' );
|
||||
}
|
||||
Reference in New Issue
Block a user