I am in the process of integrating Google CSE on my site. I want to replace default search box with the Google one. In order to do that I need to edit, searchform.php in the main theme.
I don’t have that in my Child Theme, but I do have functions.php …
Do I have to create a searchform.php file in the Child? If I do so, I can just create it and upload it via FTP while the Child Theme is live?
OR
Can I modify the searchform.php with,
<form method="get" id="searchform" action="/blog/gsearch/">
<label for="q" class="assistive-text">Search</label>
<input type="text" class="field" name="q" id="q"/>
<input type="submit" class="submit" id="searchsubmit"/>
</form>
Thank you.