Skip to content

Commit ba8236d

Browse files
committed
wordpress search is get not post
1 parent 00179de commit ba8236d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

searchform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
?>
15-
<form action="<?php echo esc_url(home_url('/')); ?>" id="search_form" class="mb" method="post">
15+
<form action="<?php echo esc_url(home_url('/')); ?>" id="search_form" class="mb" method="get">
1616
<div class="input-group">
1717
<input type="text" id="s" name="s" autocomplete="off" placeholder="Search" class="form-control">
1818
<input type="hidden" value="the_search_text" name="action">

0 commit comments

Comments
 (0)