Terence Eden on Nostr: I've just added a `<search>` form to my #WordPress blog. ...
I've just added a `<search>` form to my #WordPress blog.
https://webkit.org/blog/14445/webkit-features-in-safari-17-0/
Create a file in your theme called `searchform.php` & the default search widget automatically uses it.
```
<search role="search">
<form method="get" id="searchform" class="searchform" action="<?php echo get_site_url(); ?>">
<label class="screen-reader-text" for="s">Search for:</label>
<input type="text" value="" name="s" id="s">
<input type="submit" id="searchsubmit" value="Search">
</form>
</search>
```
https://webkit.org/blog/14445/webkit-features-in-safari-17-0/
Create a file in your theme called `searchform.php` & the default search widget automatically uses it.
```
<search role="search">
<form method="get" id="searchform" class="searchform" action="<?php echo get_site_url(); ?>">
<label class="screen-reader-text" for="s">Search for:</label>
<input type="text" value="" name="s" id="s">
<input type="submit" id="searchsubmit" value="Search">
</form>
</search>
```