Last active
November 24, 2015 19:22
-
-
Save thecodepoetry/fb9c2e60401222c7a263 to your computer and use it in GitHub Desktop.
Change header layout
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
add_action( 'get_header', 'dt_archive_layout', 10 ); | |
function dt_archive_layout() { | |
$config = Presscore_Config::get_instance(); | |
if(is_page( 35 )){ | |
$config->set( 'header.layout', 'inline' ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment