Home » HTML 5 » WP: Adding a HTML5 Search Form

WP: Adding a HTML5 Search Form

A simple script from your local Gainesville Web Designer.

[code scroll="false" language="htmml"]
<form role="search" method="get" class="search-form" action="<?php echo home_url( '/' ); ?>">
	<label>
		<span class="screen-reader-text"><?php echo _x( 'Search for:', 'label' ) ?></span>
		<input type="search" class="search-field" placeholder="<?php echo esc_attr_x( 'Search …', 'placeholder' ) ?>" value="<?php echo get_search_query() ?>" name="s" title="<?php echo esc_attr_x( 'Search for:', 'label' ) ?>" />
	</label>
	<input type="submit" class="search-submit" value="<?php echo esc_attr_x( 'Search', 'submit button' ) ?>" />
</form>
[/code]
More Web Design Blog Content

What is in a name? SEO strategies for Facebook

Establishing Connections. Social media represents a critical marketing opportunity for small business in creating connections with potential clients through shares and referrals. There are certain marketing and SEO strategies that standout in creating value for your business. We all have that friend that excusably shares information just to

The problems with Wix

Wix is a do-it-yourself website builder. While this may seem to be in direct competition with Gainesville Web Design companies, they fill an important niche; mainly, those customers that cannot afford a professional website but still desire to have a nice looking design for their business. The templates

To Gimp or Not To Gimp

In the world of photo editing, adobe photoshop is king. They really do have an amazing product. It’s sleek, works great, and is very robust sporting dozens and dozens of functions and endless possibilities for the graphic artist.  Photoshop is also very, very expensive. The entire Adobe creative

Why Website Speed Matters More Than Ever in 2024

In today’s fast-paced digital world, website speed is crucial. Users expect instant access to information, and a slow website can significantly impact your business. Here’s why website speed matters more than ever in 2024 and how you can improve it. The Importance of Website Speed User Experience When

Page Speed Insights

The importance of page load speeds for website performance cannot be emphasized in the current digital environment. A website’s loading speed can make or break its success in today’s fast-paced world when people expect rapid access to information and flawless online experiences. The following are some major justifications

Bed Bug Guru Has a New Website

New website up and running. This turned out to be a rush job so it is actually a work in progress. Their business is opening in a few days and they needed something up quickly that was still professional. Glad they called Livewire. We cooked up a great