Created
August 10, 2016 15:50
-
-
Save cagriuckan/f32395a0f5d78a5612dcee0c30788318 to your computer and use it in GitHub Desktop.
Custom post type search form
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
<!-- uckan.net - WordpressCustom Post Tyle Search Form --> | |
<form class="search" action="<?php echo home_url( '/' ); ?>"> | |
<input type="search" name="s" placeholder="Search…"> | |
<input type="submit" value="Search"> | |
<input type="hidden" name="post_type" value="post-type-ismi"> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment