Created
March 20, 2017 01:55
-
-
Save miklb/a9e91a708e18b0c6c8cfd9f34213e2a4 to your computer and use it in GitHub Desktop.
current theme searchform
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
| <form role="search" method="get" id="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>"> | |
| <p class="control has-addons"> | |
| <input class="input" name="s" id="search" type="search" value="<?php echo esc_attr( get_search_query() ); ?>" placeholder="Find it now!"> | |
| <button class="button is-info" type="submit"> | |
| Search | |
| </button> | |
| </p> | |
| </form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment