Skip to content

Instantly share code, notes, and snippets.

.tm-folding-cube .tm-cube:before {
background-color: xxx !important;
}
ICL_LANGUAGE_CODE == 'XX'
define('FS_METHOD', 'direct');
define( 'WP_SITEURL', 'http://domain.com' );
define( 'WP_HOME', 'http://domain.com' );
function wpb_remove_loginshake() {
remove_action('login_head', 'wp_shake_js', 12);
}
add_action('login_head', 'wpb_remove_loginshake');
/* Multisite */
define( 'WP_ALLOW_MULTISITE', true );
#aboutPage {
position: relative;
top: 50px !important;
}
<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: ".get_bloginfo('url'));
exit();
?>
$location = get_site_url() . "/contact";
wp_redirect( $location, 301 );
exit;
background: #fff;