Created
June 1, 2012 20:16
-
-
Save patrickmj/2854882 to your computer and use it in GitHub Desktop.
WP twentyeleven search form code
This file contains hidden or 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 | |
// Has the text been hidden? | |
if ( 'blank' == get_header_textcolor() ) : | |
?> | |
<div class="only-search<?php if ( ! empty( $header_image ) ) : ?> with-image<?php endif; ?>"> | |
<?php get_search_form(); ?> | |
</div> | |
<?php | |
else : | |
?> | |
<?php get_search_form(); ?> | |
<?php endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment