PHP Classes

File: searchform.php

Recommend this page to a friend!
  Classes of Victor Andeloci   One WordPress Game Theme   searchform.php   Download  
File: searchform.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: One WordPress Game Theme
WordPress theme for a gaming blog and podcast
Author: By
Last change:
Date: 9 months ago
Size: 786 bytes
 

Contents

Class file image Download
<form class="search-form" action="<?= bloginfo('url') ?>/" method="get" accept-charset="utf-8" id="searchform" role="search">
    <input type="text" name="s" id="s" value="<?php the_search_query(); ?>" placeholder="Buscar" required/>
    <button type="submit" value="Search">
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"/></svg>
    </button>
</form>