Created
June 19, 2014 17:52
-
-
Save jartes/3fc6b862119d8243b1ee to your computer and use it in GitHub Desktop.
Twenty Fourteen Multisite Activation and Sign up
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Adds boddy class on Multisite Activation and Sign Up pages. | |
* | |
*/ | |
function twentyfourteen_multisite_classes() { | |
add_filter( 'body_class', 'twentyfourteen_add_multisite_classes' ); | |
} | |
add_action( 'activate_header', 'twentyfourteen_multisite_classes' ); | |
add_action( 'signup_header', 'twentyfourteen_multisite_classes' ); | |
function twentyfourteen_add_multisite_classes( $classes ){ | |
$classes[] = 'multisite-activate-signup'; | |
return $classes; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment