Skip to content

Instantly share code, notes, and snippets.

@jartes
Created June 19, 2014 17:52
Show Gist options
  • Save jartes/3fc6b862119d8243b1ee to your computer and use it in GitHub Desktop.
Save jartes/3fc6b862119d8243b1ee to your computer and use it in GitHub Desktop.
Twenty Fourteen Multisite Activation and Sign up
<?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