Skip to content

Commit

Permalink
Change Search Form URL
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexGStapleton authored Mar 28, 2018
1 parent d65c4b9 commit 87e727c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion searchform.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form method="get" action="<?php echo esc_url( site_url() ) ?>">
<form method="get" action="<?php echo esc_url( home_url( '/' ) ) ?>">
<label for='s' class='screen-reader-text'><?php esc_html_e( 'Search for:', 'siteorigin-north' ); ?></label>
<input type="search" name="s" placeholder="<?php esc_attr_e('Search', 'siteorigin-north') ?>" value="<?php echo get_search_query() ?>" />
<button type="submit">
Expand Down

0 comments on commit 87e727c

Please sign in to comment.