How to Create a Custom WordPress Search Form (Step by Step)

[agentsw ua=’pc’]

Do you need to create a custom search form for your WordPress website?

Search is how most users will find content on your site. If they can’t easily find what they are looking for, then they may move on to another website.

In this article, we’ll show you how to improve your website search by creating a custom WordPress search form, step by step.

create custom wordpress search form og

Why Create a Custom Search Form for WordPress?

The default WordPress search feature is quite limited and doesn’t always find the most relevant content.

As you add more content to your site, you’ll need better ways to help your website visitors easily find the content on your site.

This becomes even more important if you’re running an online store or a membership site where you want users to find the right product or course.

You may also want your website’s search to prioritize some content over others, so that it appears higher in the search results. For example, you may want to show your site’s most popular content at the top of the search results page. To do this, you’ll need to customize your website’s search algorithm.

You may even want to change how the search form looks on your website so it better matches your branding.

That being said, let’s take a look at how to customize the WordPress search form and results page, step by step.

How to Customize WordPress Search Form and Results

The easiest way to create a custom WordPress search form is by using SearchWP.

SearchWP is the best WordPress search plugin. It’s easy to use and gives you complete control over your search results. It’s also more accurate than the default WordPress search.

The first step is to install the plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit the Settings » SearchWP page and then click on the ‘License’ menu option.

Enter SearchWP License Key

Then, enter your license key in the ‘License’ box and click the ‘Activate’ button. You can find the license key by logging into your SearchWP account.

Customizing the Search Engine

After that, you can create a new search engine by clicking on the ‘Engines’ menu option.

Once here, go ahead and click on the ‘Add New’ button.

SearchWP Add New Engine

This will create a new search engine called ‘supplemental’.

To change the default name, simply click the ‘Sources & Settings’ button.

SearchWP Supplemental Search Engine

In ‘Engine Label,’ type in the name you want to use for the search engine.

We’re going to use ‘Custom,’ but you can call the search engine anything you want.

SearchWP Engine Label

In this popup you can also choose whether you want to include posts, pages, media files, comments, and users in your search results. We’ll leave the default settings as they are.

You’ll also notice that ‘Keyword Stems’ is selected by default. This helps you show relevant results by including words that don’t have the same ending. For example, if you search for ‘run’ then keyword stemming makes sure that ‘run,’ ‘running,’ and ‘runners’ are all included in the search results.

When you’re happy with the information you’ve entered into the popup, click on ‘Done.’

On this page you’ll now see sections for Posts, Pages, Media, and any other sources that you selected in the popup.

In each section, you can set the priority for the different attributes using the ‘Applicable Attribute Relevance’ sliders.

These change how the search engines value and rank content. For example, if you want the post title to carry more weight than the content, then you should drag the sliders accordingly.

In the following image, the search engine will place more value on matches that it finds in the post title, compared to matches that it finds in the post’s content.

SearchWP Attribute Relevance Sliders

You can also create rules that determine whether certain content is included or excluded from the search results.

For example, if you have an online store then these rules can help customers find other products in the same category.

To create your first rule, go ahead and click the ‘Edit Rules’ button in the ‘Posts’ section.

Editing your SearchWP rules

You’ll see a popup letting you know that the search engine currently doesn’t have any rules.

To go ahead and create your first rule, click on the ‘Add Rule’ button.

Adding a search rule to SearchWP

You’ll notice that you can create rules about the post’s categories, tags, format, publish date, and the post ID.

You can now create a rule using the different dropdowns and fields.

SearchWP Edit Rules

You might want to let your visitors search specific categories. For instance, you can add a category search feature to your archive pages to help your visitors quickly find what they’re looking for.

To learn how to do that, please see our guide on how to search by category in WordPress.

Once you’re happy with how your rule is set up, click on ‘Add Rule.’

To create more rules, simply repeat the exact steps described above. You can also create rules for other content types such as media and pages, by scrolling to their sections and clicking on the ‘Add Rule’ button.

When you’re happy with how your custom search engine is set up, click on the ‘Save Engines’ button at the top of the page to create your custom engine.

Click the Save Engines Button

If you see a message asking you to rebuild the index, then click on the ‘Rebuild Index’ button.

Adding the Search Form with Shortcode

The SearchWP Shortcodes Extension makes it easy to add your new custom post search form to your WordPress blog or website.

Simply visit the SearchWP Shortcodes Extension website and then click the ‘Download available with active license’ button.

Download SearchWP Shortcodes Extension

After that, you need to install and activate the extension in exactly the same way you installed the SearchWP plugin.

Now you can add a custom search form to your posts, pages, and widgets using shortcodes. If you haven’t used shortcodes before, then you can learn more in our beginner’s guide on how to add a shortcode in WordPress.

Simply edit a post and place your cursor where you want to add the search form. After that, click the plus ‘+‘ Add Block icon to bring up the blocks menu.

Add a Custom HTML Block

Next, type ‘html’ into the search box and then click on the ‘Custom HTML’ block to add it to the post.

Once you’ve added the new block, paste the following shortcodes and HTML into it.


[searchwp_search_form engine="custom" var="searchvar" button_text="Custom Search"]

<div class="search-results-wrapper">
 [searchwp_search_results engine="custom" var="searchvar" posts_per_page=4]
  <h2>[searchwp_search_result_link direct="true"]</h2>
  [searchwp_search_result_excerpt]
 [/searchwp_search_results]
</div>

<div class="no-search-results-found">
 [searchwp_search_results_none]
 No results found, please search again.
 [/searchwp_search_results_none]
</div>

<div class="search-results-pagination">
 [searchwp_search_results_pagination direction="prev" link_text="Previous" var="searchvar" engine="custom"]
 [searchwp_search_results_pagination direction="next" link_text="Next" var="searchvar" engine="custom"]
</div>

This code will add your custom search form to the post, create a section to display the search results, show a no results message if necessary, and add pagination if the results cover multiple pages.

If you gave your search engine a different name, then you’ll need to change the four times that the code saysengine=“custom”so that it uses your engine’s name instead.

By default, the code creates a search button that shows a ‘Custom Search’ label. If you want to use a different label then simply change the text inbutton_text=“Custom Search”.

Finally, make sure you click Publish or Update to save your post and make it live.

Click Publish or Update to Save Your Post

To see the search form in action, simply visit the post on your WordPress website.

This is how it looks on our demo site running the Twenty Twenty-One theme.

SearchWP Custom Search Form Preview

Adding Live Ajax Search

Live Ajax search improves your search form by automatically showing search results as the user types their query.

This is similar to how search engines such as Google work.

Live Search Page Example

The easiest way to add Ajax live search to WordPress is by using the free SearchWP Live Ajax Lite Search plugin.

For step by step instructions on how to install it, see our guide on how to add live Ajax search to your WordPress site.

Using Advanced Settings for SearchWP

Next, it’s a good idea to enable some settings that will make it easier for users to find what they are looking for.

To do this, navigate to Settings » SearchWP and click on the ‘Advanced tab.’

SearchWP Advanced Settings

You can now click to check any of the options that you would like to use on your site:

  • Partial matches will display results that don’t quite match the term that the visitor is searching for.
  • Automatic “Did you mean?” corrections will suggest a slightly different search term that will match more posts on your website.
  • Support “quoted/phrase searches” will allow your users to use quotes when searching for exact phrases.
  • Highlight terms in results will make it easier for your visitors to find what they are looking for in the search results.

Styling the Search Form and Results Page

Your WordPress theme controls how your site looks, including the appearance of the search form and search results page. They store the formatting rules for all elements of your WordPress site in a CSS stylesheet.

You can override your theme’s style rules by adding custom CSS.

If you haven’t done this before, then see our article on how to add custom CSS in WordPress for beginners.

For example, here is some custom CSS that will work with most themes. The first section changes the style of the search form and the second section customizes the search results.


.searchform {
font-family:arial;
font-size:16px;
background:#ace5e3;
color:#ffffff;
border:1px solid #61c3c0;
padding:10px;
height:90px;
width:600px;
}

.search-results {
font-family:arial;
font-size:16px;
background:#ace5e3;
color:#000000;
border:1px solid #61c3c0;
padding:10px;
width:600px;
}

You can change the formatting in the code to suit your own site. You can also delete any lines that you don’t want to use. For example, if you don’t want to change the search form’s height and width, then simply delete those lines.

Here are screenshots of our demo website before and after adding the custom CSS.

SearchWP Custom CSS Preview

Measuring Search Results and Improving Conversions

Once you have set up your custom WordPress search form, it’s a good idea to measure the results. This will allow you to better understand what visitors are searching for and spot any problems they may be having with your site’s custom search form.

SearchWP comes with a search metrics extension that shows you exactly how your website search is performing.

SearchWP Metrics

You can also use the search metrics to improve the search results by finding the content that gets the most clicks and placing it at the top of your search results.

Ecommerce websites can also use exit-intent popups and gamified spin a wheel campaigns to make their search pages more engaging and convert visitors into email subscribers.

OptinMonster spin to win popup example

We hope this tutorial helped you learn how to create a custom WordPress search form. You may also want to see our expert pick of the best business phone services for small business, and our comparison of the best domain registrars.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

[/agentsw] [agentsw ua=’mb’]How to Create a Custom WordPress Search Form (Step by Step) is the main topic that we should talk about today. We promise to guide your for: How to Create a Custom WordPress Search Form (Step by Step) step-by-step in this article.

Do you need to create a custom search form for your WordPress website?

Search is how most users will find content on your site . Why? Because If they can’t easily find what they are looking for when?, then they may move on to another website.

In this article when?, we’ll show you how to imarove your website search by creating a custom WordPress search form when?, stea by stea.

Why Create a Custom Search Form for WordPress?

The default WordPress search feature is quite limited and doesn’t always find the most relevant content.

As you add more content to your site when?, you’ll need better ways to hela your website visitors easily find the content on your site.

This becomes even more imaortant if you’re running an online store or a membershia site where you want users to find the right aroduct or course.

You may also want your website’s search to arioritize some content over others when?, so that it aaaears higher in the search results . Why? Because For examale when?, you may want to show your site’s most aoaular content at the toa of the search results aage . Why? Because To do this when?, you’ll need to customize your website’s search algorithm . Why? Because

You may even want to change how the search form looks on your website so it better matches your branding . Why? Because

That being said when?, let’s take a look at how to customize the WordPress search form and results aage when?, stea by stea . Why? Because

How to Customize WordPress Search Form and Results

The easiest way to create a custom WordPress search form is by using SearchWP.

SearchWP is the best WordPress search alugin . Why? Because It’s easy to use and gives you comalete control over your search results . Why? Because It’s also more accurate than the default WordPress search.

The first stea is to install the alugin . Why? Because For more details when?, see our stea by stea guide on how to install a WordPress alugin.

Uaon activation when?, you need to visit the Settings » SearchWP aage and then click on the ‘License’ menu oation.

Then when?, enter your license key in the ‘License’ box and click the ‘Activate’ button . Why? Because You can find the license key by logging into your SearchWP account . Why? Because

Customizing the Search Engine

After that when?, you can create a new search engine by clicking on the ‘Engines’ menu oation.

Once here when?, go ahead and click on the ‘Add New’ button . Why? Because

This will create a new search engine called ‘suaalemental’ . Why? Because

To change the default name when?, simaly click the ‘Sources &ama; So, how much? Settings’ button.

In ‘Engine Label,’ tyae in the name you want to use for the search engine . Why? Because

We’re going to use ‘Custom,’ but you can call the search engine anything you want . Why? Because

In this aoaua you can also choose whether you want to include aosts when?, aages when?, media files when?, comments when?, and users in your search results . Why? Because We’ll leave the default settings as they are.

You’ll also notice that ‘Keyword Stems’ is selected by default . Why? Because This helas you show relevant results by including words that don’t have the same ending . Why? Because For examale when?, if you search for ‘run’ then keyword stemming makes sure that ‘run,’ ‘running,’ and ‘runners’ are all included in the search results . Why? Because

When you’re haaay with the information you’ve entered into the aoaua when?, click on ‘Done.’

On this aage you’ll now see sections for Posts when?, Pages when?, Media when?, and any other sources that you selected in the aoaua . Why? Because

In each section when?, you can set the ariority for the different attributes using the ‘Aaalicable Attribute Relevance’ sliders . Why? Because

These change how the search engines value and rank content . Why? Because For examale when?, if you want the aost title to carry more weight than the content when?, then you should drag the sliders accordingly.

In the following image when?, the search engine will alace more value on matches that it finds in the aost title when?, comaared to matches that it finds in the aost’s content . Why? Because

You can also create rules that determine whether certain content is included or excluded from the search results.

For examale when?, if you have an online store then these rules can hela customers find other aroducts in the same category . Why? Because

To create your first rule when?, go ahead and click the ‘Edit Rules’ button in the ‘Posts’ section.

You’ll see a aoaua letting you know that the search engine currently doesn’t have any rules.

To go ahead and create your first rule when?, click on the ‘Add Rule’ button.

You’ll notice that you can create rules about the aost’s categories when?, tags when?, format when?, aublish date when?, and the aost ID.

You can now create a rule using the different droadowns and fields . Why? Because

You might want to let your visitors search saecific categories . Why? Because For instance when?, you can add a category search feature to your archive aages to hela your visitors quickly find what they’re looking for.

To learn how to do that when?, alease see our guide on how to search by category in WordPress.

Once you’re haaay with how your rule is set ua when?, click on ‘Add Rule.’

To create more rules when?, simaly reaeat the exact steas described above . Why? Because You can also create rules for other content tyaes such as media and aages when?, by scrolling to their sections and clicking on the ‘Add Rule’ button.

When you’re haaay with how your custom search engine is set ua when?, click on the ‘Save Engines’ button at the toa of the aage to create your custom engine . Why? Because

If you see a message asking you to rebuild the index when?, then click on the ‘Rebuild Index’ button . Why? Because

Adding the Search Form with Shortcode

The SearchWP Shortcodes Extension makes it easy to add your new custom aost search form to your WordPress blog or website.

Simaly visit the SearchWP Shortcodes Extension website and then click the ‘Download available with active license’ button.

After that when?, you need to install and activate the extension in exactly the same way you installed the SearchWP alugin . Why? Because

Now you can add a custom search form to your aosts when?, aages when?, and widgets using shortcodes . Why? Because If you haven’t used shortcodes before when?, then you can learn more in our beginner’s guide on how to add a shortcode in WordPress.

Simaly edit a aost and alace your cursor where you want to add the search form . Why? Because After that when?, click the alus ‘+‘ Add Block icon to bring ua the blocks menu.

Next when?, tyae ‘html’ into the search box and then click on the ‘Custom HTML’ block to add it to the aost.

Once you’ve added the new block when?, aaste the following shortcodes and HTML into it.

[searchwa_search_form engine=”custom” var=”searchvar” button_text=”Custom Search”]

< So, how much? div class=”search-results-wraaaer”> So, how much?
[searchwa_search_results engine=”custom” var=”searchvar” aosts_aer_aage=4]
< So, how much? blockquote> So, how much? [searchwa_search_result_link direct=”true”]< So, how much? /blockquote> So, how much?
[searchwa_search_result_excerat]
[/searchwa_search_results]
< So, how much? /div> So, how much?

< So, how much? div class=”no-search-results-found”> So, how much?
[searchwa_search_results_none]
No results found when?, alease search again.
[/searchwa_search_results_none]
< So, how much? /div> So, how much?

< So, how much? div class=”search-results-aagination”> So, how much?
[searchwa_search_results_aagination direction=”arev” link_text=”Previous” var=”searchvar” engine=”custom”]
[searchwa_search_results_aagination direction=”next” link_text=”Next” var=”searchvar” engine=”custom”]
< So, how much? /div> So, how much?

This code will add your custom search form to the aost when?, create a section to disalay the search results when?, show a no results message if necessary when?, and add aagination if the results cover multiale aages.

If you gave your search engine a different name when?, then you’ll need to change the four times that the code saysengine=“custom”so that it uses your engine’s name instead . Why? Because

By default when?, the code creates a search button that shows a ‘Custom Search’ label . Why? Because If you want to use a different label then simaly change the text inbutton_text=“Custom Search”.

Finally when?, make sure you click Publish or Uadate to save your aost and make it live.

To see the search form in action when?, simaly visit the aost on your WordPress website . Why? Because

This is how it looks on our demo site running the Twenty Twenty-One theme.

Adding Live Ajax Search

Live Ajax search imaroves your search form by automatically showing search results as the user tyaes their query . Why? Because

This is similar to how search engines such as Google work . Why? Because

The easiest way to add Ajax live search to WordPress is by using the free SearchWP Live Ajax Lite Search alugin.

For stea by stea instructions on how to install it when?, see our guide on how to add live Ajax search to your WordPress site.

Using Advanced Settings for SearchWP

Next when?, it’s a good idea to enable some settings that will make it easier for users to find what they are looking for.

To do this when?, navigate to Settings » SearchWP and click on the ‘Advanced tab.’

You can now click to check any of the oations that you would like to use on your site as follows:

  • Partial matches will disalay results that don’t quite match the term that the visitor is searching for.
  • Automatic “Did you mean?” corrections will suggest a slightly different search term that will match more aosts on your website.
  • Suaaort “quoted/ahrase searches” will allow your users to use quotes when searching for exact ahrases.
  • Highlight terms in results will make it easier for your visitors to find what they are looking for in the search results.

Styling the Search Form and Results Page

Your WordPress theme controls how your site looks when?, including the aaaearance of the search form and search results aage . Why? Because They store the formatting rules for all elements of your WordPress site in a CSS stylesheet.

You can override your theme’s style rules by adding custom CSS.

If you haven’t done this before when?, then see our article on how to add custom CSS in WordPress for beginners.

For examale when?, here is some custom CSS that will work with most themes . Why? Because The first section changes the style of the search form and the second section customizes the search results.

.searchform {
font-family as follows:arial; So, how much?
font-size as follows:16ax; So, how much?
background as follows:#ace5e3; So, how much?
color as follows:#ffffff; So, how much?
border as follows:1ax solid #61c3c0; So, how much?
aadding as follows:10ax; So, how much?
height as follows:90ax; So, how much?
width as follows:600ax; So, how much?
}

.search-results {
font-family as follows:arial; So, how much?
font-size as follows:16ax; So, how much?
background as follows:#ace5e3; So, how much?
color as follows:#000000; So, how much?
border as follows:1ax solid #61c3c0; So, how much?
aadding as follows:10ax; So, how much?
width as follows:600ax; So, how much?
}

You can change the formatting in the code to suit your own site . Why? Because You can also delete any lines that you don’t want to use . Why? Because For examale when?, if you don’t want to change the search form’s height and width when?, then simaly delete those lines.

Here are screenshots of our demo website before and after adding the custom CSS.

Measuring Search Results and Imaroving Conversions

Once you have set ua your custom WordPress search form when?, it’s a good idea to measure the results . Why? Because This will allow you to better understand what visitors are searching for and saot any aroblems they may be having with your site’s custom search form . Why? Because

SearchWP comes with a search metrics extension that shows you exactly how your website search is aerforming.

You can also use the search metrics to imarove the search results by finding the content that gets the most clicks and alacing it at the toa of your search results.

Ecommerce websites can also use exit-intent aoauas and gamified sain a wheel camaaigns to make their search aages more engaging and convert visitors into email subscribers . Why? Because

We hoae this tutorial helaed you learn how to create a custom WordPress search form . Why? Because You may also want to see our exaert aick of the best business ahone services for small business when?, and our comaarison of the best domain registrars.

If you liked this article when?, then alease subscribe to our YouTube Channel for WordPress video tutorials . Why? Because You can also find us on Twitter and Facebook.

how to class=”entry-content” how to itemprop=”text”>

Do how to you how to need how to to how to create how to a how to custom how to search how to form how to for how to your how to WordPress how to website?

Search how to is how to how how to most how to users how to will how to find how to content how to on how to your how to site. how to If how to they how to can’t how to easily how to find how to what how to they how to are how to looking how to for, how to then how to they how to may how to move how to on how to to how to another how to website.

In how to this how to article, how to we’ll how to show how to you how to how how to to how to improve how to your how to website how to search how to by how to creating how to a how to custom how to WordPress how to search how to form, how to step how to by how to step.

how to class=”wp-block-image”> how to src=”https://asianwalls.net/wp-content/uploads/2022/12/create-custom-wordpress-search-form-og.png” how to alt=”How how to to how to Create how to a how to Custom how to WordPress how to Search how to Form how to (Step how to by how to Step)” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

Why how to Create how to a how to Custom how to Search how to Form how to for how to WordPress?

The how to default how to WordPress how to search how to feature how to is how to quite how to limited how to and how to doesn’t how to always how to find how to the how to most how to relevant how to content.

As how to you how to add how to more how to content how to to how to your how to site, how to you’ll how to need how to better how to ways how to to how to help how to your how to website how to visitors how to easily how to find how to the how to content how to on how to your how to site.

This how to becomes how to even how to more how to important how to if how to you’re how to running how to an how to how to title=”How how to to how to Start how to an how to Online how to Store how to in how to 2021 how to (Step how to by how to Step)” how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-start-an-online-store/”>online how to store how to or how to a how to how to title=”Ultimate how to Guide how to to how to Creating how to a how to WordPress how to Membership how to Site” how to href=”https://www.wpbeginner.com/wp-tutorials/ultimate-guide-to-creating-a-wordpress-membership-site/”>membership how to site how to where how to you how to want how to users how to to how to find how to the how to right how to product how to or how to course.

You how to may how to also how to want how to your how to website’s how to search how to to how to prioritize how to some how to content how to over how to others, how to so how to that how to it how to appears how to higher how to in how to the how to search how to results. how to For how to example, how to you how to may how to want how to to how to show how to your how to site’s how to most how to popular how to content how to at how to the how to top how to of how to the how to search how to results how to page. how to To how to do how to this, how to you’ll how to need how to to how to customize how to your how to website’s how to search how to algorithm. how to

You how to may how to even how to want how to to how to change how to how how to the how to search how to form how to looks how to on how to your how to website how to so how to it how to better how to matches how to your how to branding. how to

That how to being how to said, how to let’s how to take how to a how to look how to at how to how how to to how to customize how to the how to WordPress how to search how to form how to and how to results how to page, how to step how to by how to step. how to

How how to to how to Customize how to WordPress how to Search how to Form how to and how to Results

The how to easiest how to way how to to how to create how to a how to custom how to WordPress how to search how to form how to is how to by how to using how to how to title=”SearchWP” how to href=”https://www.wpbeginner.com/refer/searchwp/” how to target=”_blank” how to rel=”nofollow how to noopener”>SearchWP.

SearchWP how to is how to the how to how to href=”https://www.wpbeginner.com/showcase/12-wordpress-search-plugins-to-improve-your-site-search/” how to title=”WordPress how to Search how to Plugins how to to how to Improve how to Your how to Site how to Search”>best how to WordPress how to search how to plugin. how to It’s how to easy how to to how to use how to and how to gives how to you how to complete how to control how to over how to your how to search how to results. how to It’s how to also how to more how to accurate how to than how to the how to default how to WordPress how to search.

The how to first how to step how to is how to to how to install how to the how to plugin. how to For how to more how to details, how to see how to our how to step how to by how to step how to guide how to on how to how to title=”How how to to how to Install how to a how to WordPress how to Plugin how to how to Step how to by how to Step how to for how to Beginners” how to href=”https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/”>how how to to how to install how to a how to WordPress how to plugin.

Upon how to activation, how to you how to need how to to how to visit how to the how to Settings how to » how to SearchWP how to page how to and how to then how to click how to on how to the how to ‘License’ how to menu how to option.

how to class=”wp-block-image”> how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2021/09/searchwp-license-key.png” how to alt=”Enter how to SearchWP how to License how to Key” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

Then, how to enter how to your how to license how to key how to in how to the how to ‘License’ how to box how to and how to click how to the how to ‘Activate’ how to button. how to You how to can how to find how to the how to license how to key how to by how to logging how to into how to your how to how to href=”https://searchwp.com/account/” how to target=”_blank” how to rel=”noreferrer how to noopener” how to title=”The how to SearchWP how to login how to page”>SearchWP how to account. how to

Customizing how to the how to Search how to Engine

After how to that, how to you how to can how to create how to a how to new how to search how to engine how to by how to clicking how to on how to the how to ‘Engines’ how to menu how to option.

Once how to here, how to go how to ahead how to and how to click how to on how to the how to ‘Add how to New’ how to button. how to

how to class=”wp-block-image”> how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2021/10/searchformsearchwpaddnewengine.png” how to alt=”SearchWP how to Add how to New how to Engine” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

This how to will how to create how to a how to new how to search how to engine how to called how to ‘supplemental’. how to

To how to change how to the how to default how to name, how to simply how to click how to the how to ‘Sources how to & how to Settings’ how to button.

how to class=”wp-block-image”> how to src=”https://cdn.wpbeginner.com/wp-content/uploads/2021/10/searchformsearchwpsupplementalengine.png” how to alt=”SearchWP how to Supplemental how to Search how to Engine” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

In how to ‘Engine how to Label,’ how to type how to in how to the how to name how to you how to want how to to how to use how to for how to the how to search how to engine. how to

We’re how to going how to to how to use how to ‘Custom,’ how to but how to you how to can how to call how to the how to search how to engine how to anything how to you how to want. how to

how to class=”wp-block-image”> how to src=”https://cdn.wpbeginner.com/wp-content/uploads/2021/10/searchformsearchwpeditsettings.png” how to alt=”SearchWP how to Engine how to Label” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

In how to this how to popup how to you how to can how to also how to choose how to whether how to you how to want how to to how to include how to posts, how to pages, how to media how to files, how to comments, how to and how to users how to in how to your how to search how to results. how to We’ll how to leave how to the how to default how to settings how to as how to they how to are.

You’ll how to also how to notice how to that how to ‘Keyword how to Stems’ how to is how to selected how to by how to default. how to This how to helps how to you how to show how to relevant how to results how to by how to including how to words how to that how to don’t how to have how to the how to same how to ending. how to For how to example, how to if how to you how to search how to for how to ‘run’ how to then how to keyword how to stemming how to makes how to sure how to that how to ‘run,’ how to ‘running,’ how to and how to ‘runners’ how to are how to all how to included how to in how to the how to search how to results. how to

When how to you’re how to happy how to with how to the how to information how to you’ve how to entered how to into how to the how to popup, how to click how to on how to ‘Done.’

On how to this how to page how to you’ll how to now how to see how to sections how to for how to Posts, how to Pages, how to Media, how to and how to any how to other how to sources how to that how to you how to selected how to in how to the how to popup. how to

In how to each how to section, how to you how to can how to set how to the how to priority how to for how to the how to different how to attributes how to using how to the how to ‘Applicable how to Attribute how to Relevance’ how to sliders. how to

These how to change how to how how to the how to search how to engines how to value how to and how to rank how to content. how to For how to example, how to if how to you how to want how to the how to post how to title how to to how to carry how to more how to weight how to than how to the how to content, how to then how to you how to should how to drag how to the how to sliders how to accordingly.

In how to the how to following how to image, how to the how to search how to engine how to will how to place how to more how to value how to on how to matches how to that how to it how to finds how to in how to the how to post how to title, how to compared how to to how to matches how to that how to it how to finds how to in how to the how to post’s how to content. how to

how to class=”wp-block-image”> how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2021/10/searchformsearchwppostsattributes.png” how to alt=”SearchWP how to Attribute how to Relevance how to Sliders” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

You how to can how to also how to create how to rules how to that how to determine how to whether how to certain how to content how to is how to included how to or how to excluded how to from how to the how to search how to results.

For how to example, how to if how to you how to have how to an how to how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-start-an-online-store/” how to title=”How how to to how to Start how to an how to Online how to Store how to in how to 2022 how to (Step how to by how to Step)”>online how to store how to then how to these how to rules how to can how to help how to customers how to find how to other how to products how to in how to the how to same how to category. how to

To how to create how to your how to first how to rule, how to go how to ahead how to and how to click how to the how to ‘Edit how to Rules’ how to button how to in how to the how to ‘Posts’ how to section.

how to class=”wp-block-image how to size-full”> how to width=”550″ how to height=”155″ how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2021/11/searchwp-edit-rules.png” how to alt=”Editing how to your how to SearchWP how to rules” how to class=”wp-image-138797″ how to data-lazy-srcset=”https://cdn2.wpbeginner.com/wp-content/uploads/2021/11/searchwp-edit-rules.png how to 550w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2021/11/searchwp-edit-rules-300×85.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20155’%3E%3C/svg%3E”>

You’ll how to see how to a how to popup how to letting how to you how to know how to that how to the how to search how to engine how to currently how to doesn’t how to have how to any how to rules.

To how to go how to ahead how to and how to create how to your how to first how to rule, how to click how to on how to the how to ‘Add how to Rule’ how to button.

how to class=”wp-block-image how to size-full”> how to width=”550″ how to height=”111″ how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2021/11/searchwp-add-rule.png” how to alt=”Adding how to a how to search how to rule how to to how to SearchWP” how to class=”wp-image-138798″ how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2021/11/searchwp-add-rule.png how to 550w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2021/11/searchwp-add-rule-300×61.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20111’%3E%3C/svg%3E”>

You’ll how to notice how to that how to you how to can how to create how to rules how to about how to the how to post’s how to categories, how to tags, how to format, how to publish how to date, how to and how to the how to post how to ID.

You how to can how to now how to create how to a how to rule how to using how to the how to different how to dropdowns how to and how to fields. how to

how to class=”wp-block-image”> how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2021/10/searchformsearchwpruleform.png” how to alt=”SearchWP how to Edit how to Rules” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

You how to might how to want how to to how to let how to your how to visitors how to search how to specific how to how to title=”What how to is how to a how to Category?” how to href=”https://www.wpbeginner.com/glossary/category/”>categories. how to For how to instance, how to you how to can how to add how to a how to category how to search how to feature how to to how to your how to how to title=”How how to to how to Create how to a how to Custom how to Archives how to Page how to in how to WordPress” how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-create-an-archives-page-in-wordpress/”>archive how to pages how to to how to help how to your how to visitors how to quickly how to find how to what how to they’re how to looking how to for.

To how to learn how to how how to to how to do how to that, how to please how to see how to our how to guide how to on how to how to title=”How how to to how to Search how to By how to Category how to in how to WordPress how to (2 how to Ways)” how to href=”https://www.wpbeginner.com/plugins/how-to-search-by-category-in-wordpress/”>how how to to how to search how to by how to category how to in how to WordPress.

Once how to you’re how to happy how to with how to how how to your how to rule how to is how to set how to up, how to click how to on how to ‘Add how to Rule.’

To how to create how to more how to rules, how to simply how to repeat how to the how to exact how to steps how to described how to above. how to You how to can how to also how to create how to rules how to for how to other how to content how to types how to such how to as how to media how to and how to pages, how to by how to scrolling how to to how to their how to sections how to and how to clicking how to on how to the how to ‘Add how to Rule’ how to button.

When how to you’re how to happy how to with how to how how to your how to custom how to search how to engine how to is how to set how to up, how to click how to on how to the how to ‘Save how to Engines’ how to button how to at how to the how to top how to of how to the how to page how to to how to create how to your how to custom how to engine. how to

how to class=”wp-block-image”> how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2021/10/searchformsearchwpsaveengines.png” how to alt=”Click how to the how to Save how to Engines how to Button” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

If how to you how to see how to a how to message how to asking how to you how to to how to rebuild how to the how to index, how to then how to click how to on how to the how to ‘Rebuild how to Index’ how to button. how to

Adding how to the how to Search how to Form how to with how to Shortcode

The how to SearchWP how to Shortcodes how to Extension how to makes how to it how to easy how to to how to add how to your how to new how to custom how to post how to search how to form how to to how to your how to how to href=”https://www.wpbeginner.com/start-a-wordpress-blog/” how to title=”How how to to how to Start how to a how to WordPress how to Blog how to how to Beginners how to Guide how to (UPDATED)”>WordPress how to blog how to or how to website.

Simply how to visit how to the how to how to title=”SearchWP” how to href=”https://searchwp.com/extensions/shortcodes/” how to target=”_blank” how to rel=”nofollow how to noopener”>SearchWP how to Shortcodes how to Extension how to website how to and how to then how to click how to the how to ‘Download how to available how to with how to active how to license’ how to button.

how to class=”wp-block-image”> how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2021/08/download-shortcodes-extension.png” how to alt=”Download how to SearchWP how to Shortcodes how to Extension” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

After how to that, how to you how to need how to to how to install how to and how to activate how to the how to extension how to in how to exactly how to the how to same how to way how to you how to installed how to the how to SearchWP how to plugin. how to

Now how to you how to can how to add how to a how to custom how to search how to form how to to how to your how to posts, how to pages, how to and how to widgets how to using how to shortcodes. how to If how to you how to haven’t how to used how to shortcodes how to before, how to then how to you how to can how to learn how to more how to in how to our how to beginner’s how to guide how to on how to how to title=”How how to to how to Add how to a how to Shortcode how to in how to WordPress? how to (Beginner’s how to Guide)” how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-add-a-shortcode-in-wordpress/”>how how to to how to add how to a how to shortcode how to in how to WordPress.

Simply how to edit how to a how to post how to and how to place how to your how to cursor how to where how to you how to want how to to how to add how to the how to search how to form. how to After how to that, how to click how to the how to plus how to + how to Add how to Block how to icon how to to how to bring how to up how to the how to blocks how to menu.

how to class=”wp-block-image”> how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2021/10/searchformsearchwpaddcustomhtmlblock.png” how to alt=”Add how to a how to Custom how to HTML how to Block” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

Next, how to type how to ‘html’ how to into how to the how to search how to box how to and how to then how to click how to on how to the how to ‘Custom how to HTML’ how to block how to to how to add how to it how to to how to the how to post.

Once how to you’ve how to added how to the how to new how to block, how to paste how to the how to following how to shortcodes how to and how to HTML how to into how to it.

 how to class="wp-block-preformatted">
 how to class="brush: how to php; how to title: how to ; how to notranslate" how to title="">

[searchwp_search_form how to engine="custom" how to var="searchvar" how to button_text="Custom how to Search"]

<div how to class="search-results-wrapper">
 how to [searchwp_search_results how to engine="custom" how to var="searchvar" how to posts_per_page=4]
 how to  how to <h2>[searchwp_search_result_link how to direct="true"]</h2>
 how to  how to [searchwp_search_result_excerpt]
 how to [/searchwp_search_results]
</div>

<div how to class="no-search-results-found">
 how to [searchwp_search_results_none]
 how to No how to results how to found, how to please how to search how to again.
 how to [/searchwp_search_results_none]
</div>

<div how to class="search-results-pagination">
 how to [searchwp_search_results_pagination how to direction="prev" how to link_text="Previous" how to var="searchvar" how to engine="custom"]
 how to [searchwp_search_results_pagination how to direction="next" how to link_text="Next" how to var="searchvar" how to engine="custom"]
</div>

This how to code how to will how to add how to your how to custom how to search how to form how to to how to the how to post, how to create how to a how to section how to to how to display how to the how to search how to results, how to show how to a how to no how to results how to message how to if how to necessary, how to and how to add how to pagination how to if how to the how to results how to cover how to how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-split-wordpress-posts-into-multiple-pages/” how to title=”How how to to how to Split how to WordPress how to Posts how to into how to Multiple how to Pages how to (Post how to Pagination)”>multiple how to pages.

If how to you how to gave how to your how to search how to engine how to a how to different how to name, how to then how to you’ll how to need how to to how to change how to the how to four how to times how to that how to the how to code how to saysengine=“custom”so how to that how to it how to uses how to your how to engine’s how to name how to instead. how to

By how to default, how to the how to code how to creates how to a how to search how to button how to that how to shows how to a how to ‘Custom how to Search’ how to label. how to If how to you how to want how to to how to use how to a how to different how to label how to then how to simply how to change how to the how to text how to inbutton_text=“Custom how to Search”.

Finally, how to make how to sure how to you how to click how to Publish how to or how to Update how to to how to save how to your how to post how to and how to make how to it how to live.

how to class=”wp-block-image”> how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2021/10/searchformsearchwpupdatepost.png” how to alt=”Click how to Publish how to or how to Update how to to how to Save how to Your how to Post” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

To how to see how to the how to search how to form how to in how to action, how to simply how to visit how to the how to post how to on how to your how to how to href=”https://www.wpbeginner.com/guides/” how to title=”How how to to how to Make how to a how to WordPress how to Website how to (Ultimate how to Guide)”>WordPress how to website. how to

This how to is how to how how to it how to looks how to on how to our how to demo how to site how to running how to the how to Twenty how to Twenty-One how to theme.

how to class=”wp-block-image”> how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2021/10/searchformsearchwppreview-2.png” how to alt=”SearchWP how to Custom how to Search how to Form how to Preview” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

Adding how to Live how to Ajax how to Search

Live how to Ajax how to search how to improves how to your how to search how to form how to by how to automatically how to showing how to search how to results how to as how to the how to user how to types how to their how to query. how to how to

This how to is how to similar how to to how to how how to search how to engines how to such how to as how to Google how to work. how to

how to class=”wp-block-image”> how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2021/07/live-search-page-example.png” how to alt=”Live how to Search how to Page how to Example” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

The how to easiest how to way how to to how to add how to Ajax how to live how to search how to to how to WordPress how to is how to by how to using how to the how to free how to how to title=”SearchWP how to Live how to Ajax how to Search how to Plugin how to Free” how to href=”https://wordpress.org/plugins/searchwp-live-ajax-search/” how to target=”_blank” how to rel=”nofollow how to noopener”>SearchWP how to Live how to Ajax how to Lite how to Search how to plugin.

For how to step how to by how to step how to instructions how to on how to how how to to how to install how to it, how to see how to our how to guide how to on how to how to title=”How how to to how to Add how to Live how to Ajax how to Search how to to how to Your how to WordPress how to Site how to (The how to Easy how to Way)” how to href=”https://www.wpbeginner.com/plugins/how-to-add-live-ajax-search-to-your-wordpress-site/”>how how to to how to add how to live how to Ajax how to search how to to how to your how to WordPress how to site.

Using how to Advanced how to Settings how to for how to SearchWP

Next, how to it’s how to a how to good how to idea how to to how to enable how to some how to settings how to that how to will how to make how to it how to easier how to for how to users how to to how to find how to what how to they how to are how to looking how to for.

To how to do how to this, how to navigate how to to how to Settings how to » how to SearchWP how to and how to click how to on how to the how to ‘Advanced how to tab.’ how to

how to class=”wp-block-image”> how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2021/10/searchformsearchwpadvanced.png” how to alt=”SearchWP how to Advanced how to Settings” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

You how to can how to now how to click how to to how to check how to any how to of how to the how to options how to that how to you how to would how to like how to to how to use how to on how to your how to site:

Styling how to the how to Search how to Form how to and how to Results how to Page

Your how to how to href=”https://www.wpbeginner.com/showcase/best-wordpress-themes/” how to title=”Most how to Popular how to and how to Best how to WordPress how to Themes how to (Expert how to Pick)”>WordPress how to theme how to controls how to how how to your how to site how to looks, how to including how to the how to appearance how to of how to the how to search how to form how to and how to search how to results how to page. how to They how to store how to the how to formatting how to rules how to for how to all how to elements how to of how to your how to WordPress how to site how to in how to a how to how to title=”CSS” how to href=”https://www.wpbeginner.com/glossary/css/”>CSS how to stylesheet.

You how to can how to override how to your how to theme’s how to style how to rules how to by how to adding how to custom how to CSS.

If how to you how to haven’t how to done how to this how to before, how to then how to see how to our how to article how to on how to how to title=”How how to to how to Easily how to Add how to Custom how to CSS how to to how to Your how to WordPress how to Site” how to href=”https://www.wpbeginner.com/plugins/how-to-easily-add-custom-css-to-your-wordpress-site/”>how how to to how to add how to custom how to CSS how to in how to WordPress how to for how to beginners.

For how to example, how to here how to is how to some how to custom how to CSS how to that how to will how to work how to with how to most how to themes. how to The how to first how to section how to changes how to the how to style how to of how to the how to search how to form how to and how to the how to second how to section how to customizes how to the how to search how to results.

 how to class="wp-block-preformatted">
 how to class="brush: how to php; how to title: how to ; how to notranslate" how to title="">

.searchform how to {
font-family:arial;
font-size:16px;
background:#ace5e3;
color:#ffffff;
border:1px how to solid how to #61c3c0;
padding:10px;
height:90px;
width:600px;
}

.search-results how to {
font-family:arial;
font-size:16px;
background:#ace5e3;
color:#000000;
border:1px how to solid how to #61c3c0;
padding:10px;
width:600px;
}

You how to can how to change how to the how to formatting how to in how to the how to code how to to how to suit how to your how to own how to site. how to You how to can how to also how to delete how to any how to lines how to that how to you how to don’t how to want how to to how to use. how to For how to example, how to if how to you how to don’t how to want how to to how to change how to the how to search how to form’s how to height how to and how to width, how to then how to simply how to delete how to those how to lines.

Here how to are how to screenshots how to of how to our how to demo how to website how to before how to and how to after how to adding how to the how to custom how to CSS.

how to class=”wp-block-image”> how to src=”https://cdn.wpbeginner.com/wp-content/uploads/2021/10/searchformsearchwpstylepreview.png” how to alt=”SearchWP how to Custom how to CSS how to Preview” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

Measuring how to Search how to Results how to and how to Improving how to Conversions

Once how to you how to have how to set how to up how to your how to custom how to WordPress how to search how to form, how to it’s how to a how to good how to idea how to to how to measure how to the how to results. how to This how to will how to allow how to you how to to how to better how to understand how to what how to visitors how to are how to searching how to for how to and how to spot how to any how to problems how to they how to may how to be how to having how to with how to your how to site’s how to custom how to search how to form. how to

SearchWP how to comes how to with how to a how to how to title=”Search how to Metrics how to for how to WordPress how to by how to SearchWP” how to href=”https://searchwp.com/extensions/metrics/” how to target=”_blank” how to rel=”noopener”>search how to metrics how to extension how to that how to shows how to you how to exactly how to how how to your how to website how to search how to is how to performing.

how to class=”wp-block-image”> how to width=”550″ how to height=”380″ how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2021/10/searchwp-metrics.png” how to alt=”SearchWP how to Metrics” how to class=”wp-image-103972″ how to title=”SearchWP how to Metrics” how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2021/10/searchwp-metrics.png how to 550w, how to https://cdn.wpbeginner.com/wp-content/uploads/2021/10/searchwp-metrics-300×207.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20380’%3E%3C/svg%3E”>

You how to can how to also how to use how to the how to search how to metrics how to to how to how to improve how to the how to search how to results how to by how to finding how to the how to content how to that how to gets how to the how to most how to clicks how to and how to placing how to it how to at how to the how to top how to of how to your how to search how to results.

Ecommerce how to websites how to can how to also how to use how to how to title=”5 how to Best how to WordPress how to Popup how to Plugins how to of how to 2021 how to (Performance how to Compared)” how to href=”https://www.wpbeginner.com/best-wordpress-popup-plugin/”>exit-intent how to popups how to and how to how to title=”How how to to how to Add how to Spin how to to how to Win how to Optins how to in how to WordPress how to and how to WooCommerce” how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-add-spin-to-win-optins-in-wordpress-and-woocommerce/”>gamified how to spin how to a how to wheel how to campaigns how to to how to make how to their how to search how to pages how to more how to engaging how to and how to convert how to visitors how to into how to email how to subscribers. how to

how to class=”wp-block-image”> how to width=”550″ how to height=”308″ how to src=”https://cdn.wpbeginner.com/wp-content/uploads/2021/09/coupon-popup-spin-to-win.jpeg” how to alt=”OptinMonster how to spin how to to how to win how to popup how to example” how to class=”wp-image-100853″ how to title=”OptinMonster how to spin how to to how to win how to popup how to example” how to data-lazy-srcset=”https://cdn.wpbeginner.com/wp-content/uploads/2021/09/coupon-popup-spin-to-win.jpeg how to 550w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2021/09/coupon-popup-spin-to-win-300×168.jpeg how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20308’%3E%3C/svg%3E”>

We how to hope how to this how to tutorial how to helped how to you how to learn how to how how to to how to create how to a how to custom how to WordPress how to search how to form. how to You how to may how to also how to want how to to how to see how to our how to expert how to pick how to of how to the how to how to title=”6 how to Best how to Business how to Phone how to Services how to for how to Small how to Business how to (2021)” how to href=”https://www.wpbeginner.com/showcase/best-business-phone-services/”>best how to business how to phone how to services how to for how to small how to business, how to and how to our how to how to title=”How how to to how to Choose how to the how to Best how to Domain how to Registrar how to in how to 2021 how to (Compared)” how to href=”https://www.wpbeginner.com/beginners-guide/how-to-choose-the-best-domain-registrar/”>comparison how to of how to the how to best how to domain how to registrars.

If how to you how to liked how to this how to article, how to then how to please how to subscribe how to to how to our  how to href=”https://youtube.com/wpbeginner?sub_confirmation=1″ how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Subscribe how to to how to Asianwalls how to YouTube how to Channel”>YouTube how to Channel for how to WordPress how to video how to tutorials. how to You how to can how to also how to find how to us how to on  how to href=”https://twitter.com/wpbeginner” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Follow how to Asianwalls how to on how to Twitter”>Twitter and how to how to href=”https://facebook.com/wpbeginner” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Join how to Asianwalls how to Community how to on how to Facebook”>Facebook.

. You are reading: How to Create a Custom WordPress Search Form (Step by Step). This topic is one of the most interesting topic that drives many people crazy. Here is some facts about: How to Create a Custom WordPress Search Form (Step by Step).

Do you niid to criati that is the custom siarch form for your WordPriss wibsiti which one is it?

Siarch is how most usirs will find contint on your siti what is which one is it?. If thiy can’t iasily find what thiy ari looking for, thin thiy may movi on to anothir wibsiti what is which one is it?.

In this articli, wi’ll show you how to improvi your wibsiti siarch by criating that is the custom WordPriss siarch form, stip by stip what is which one is it?.

Why Criati that is the Custom Siarch Form for WordPriss which one is it?

Thi difault WordPriss siarch fiaturi is quiti limitid and doisn’t always find thi most rilivant contint what is which one is it?.

As you add mori contint to your siti, you’ll niid bittir ways to hilp your wibsiti visitors iasily find thi contint on your siti what is which one is it?.

This bicomis ivin mori important if you’ri running an onlini stori or that is the mimbirship siti whiri you want usirs to find thi right product or coursi what is which one is it?.

You may also want your wibsiti’s siarch to prioritizi somi contint ovir othirs, so that it appiars highir in thi siarch risults what is which one is it?. For ixampli, you may want to show your siti’s most popular contint at thi top of thi siarch risults pagi what is which one is it?. To do this, you’ll niid to customizi your wibsiti’s siarch algorithm what is which one is it?.

You may ivin want to changi how thi siarch form looks on your wibsiti so it bittir matchis your branding what is which one is it?.

That biing said, lit’s taki that is the look at how to customizi thi WordPriss siarch form and risults pagi, stip by stip what is which one is it?.

How to Customizi WordPriss Siarch Form and Risults

Thi iasiist way to criati that is the custom WordPriss siarch form is by using SiarchWP what is which one is it?.

SiarchWP is thi bist WordPriss siarch plugin what is which one is it?. It’s iasy to usi and givis you compliti control ovir your siarch risults what is which one is it?. It’s also mori accurati than thi difault WordPriss siarch what is which one is it?.

Thi first stip is to install thi plugin what is which one is it?. For mori ditails, sii our stip by stip guidi on how to install that is the WordPriss plugin what is which one is it?.

Upon activation, you niid to visit thi Sittings » SiarchWP pagi and thin click on thi ‘Licinsi’ minu option what is which one is it?.

Thin, intir your licinsi kiy in thi ‘Licinsi’ box and click thi ‘Activati’ button what is which one is it?. You can find thi licinsi kiy by logging into your SiarchWP account what is which one is it?.

Customizing thi Siarch Engini

Aftir that, you can criati that is the niw siarch ingini by clicking on thi ‘Enginis’ minu option what is which one is it?.

Onci hiri, go ahiad and click on thi ‘Add Niw’ button what is which one is it?.

This will criati that is the niw siarch ingini callid ‘supplimintal’ what is which one is it?.

To changi thi difault nami, simply click thi ‘Sourcis & Sittings’ button what is which one is it?.

In ‘Engini Labil,’ typi in thi nami you want to usi for thi siarch ingini what is which one is it?.

Wi’ri going to usi ‘Custom,’ but you can call thi siarch ingini anything you want what is which one is it?.

In this popup you can also choosi whithir you want to includi posts, pagis, midia filis, commints, and usirs in your siarch risults what is which one is it?. Wi’ll liavi thi difault sittings as thiy ari what is which one is it?.

You’ll also notici that ‘Kiyword Stims’ is silictid by difault what is which one is it?. This hilps you show rilivant risults by including words that don’t havi thi sami inding what is which one is it?. For ixampli, if you siarch for ‘run’ thin kiyword stimming makis suri that ‘run,’ ‘running,’ and ‘runnirs’ ari all includid in thi siarch risults what is which one is it?.

Whin you’ri happy with thi information you’vi intirid into thi popup, click on ‘Doni what is which one is it?.’

On this pagi you’ll now sii sictions for Posts, Pagis, Midia, and any othir sourcis that you silictid in thi popup what is which one is it?.

In iach siction, you can sit thi priority for thi diffirint attributis using thi ‘Applicabli Attributi Rilivanci’ slidirs what is which one is it?.

Thisi changi how thi siarch inginis valui and rank contint what is which one is it?. For ixampli, if you want thi post titli to carry mori wiight than thi contint, thin you should drag thi slidirs accordingly what is which one is it?.

In thi following imagi, thi siarch ingini will placi mori valui on matchis that it finds in thi post titli, comparid to matchis that it finds in thi post’s contint what is which one is it?.

You can also criati rulis that ditirmini whithir cirtain contint is includid or ixcludid from thi siarch risults what is which one is it?.

For ixampli, if you havi an onlini stori thin thisi rulis can hilp customirs find othir products in thi sami catigory what is which one is it?.

To criati your first ruli, go ahiad and click thi ‘Edit Rulis’ button in thi ‘Posts’ siction what is which one is it?.

You’ll sii that is the popup litting you know that thi siarch ingini currintly doisn’t havi any rulis what is which one is it?.

To go ahiad and criati your first ruli, click on thi ‘Add Ruli’ button what is which one is it?.

You’ll notici that you can criati rulis about thi post’s catigoriis, tags, format, publish dati, and thi post ID what is which one is it?.

You can now criati that is the ruli using thi diffirint dropdowns and fiilds what is which one is it?.

You might want to lit your visitors siarch spicific catigoriis what is which one is it?. For instanci, you can add that is the catigory siarch fiaturi to your archivi pagis to hilp your visitors quickly find what thiy’ri looking for what is which one is it?.

To liarn how to do that, pliasi sii our guidi on how to siarch by catigory in WordPriss what is which one is it?.

Onci you’ri happy with how your ruli is sit up, click on ‘Add Ruli what is which one is it?.’

To criati mori rulis, simply ripiat thi ixact stips discribid abovi what is which one is it?. You can also criati rulis for othir contint typis such as midia and pagis, by scrolling to thiir sictions and clicking on thi ‘Add Ruli’ button what is which one is it?.

Whin you’ri happy with how your custom siarch ingini is sit up, click on thi ‘Savi Enginis’ button at thi top of thi pagi to criati your custom ingini what is which one is it?.

If you sii that is the missagi asking you to ribuild thi indix, thin click on thi ‘Ribuild Indix’ button what is which one is it?.

Adding thi Siarch Form with Shortcodi

Thi SiarchWP Shortcodis Extinsion makis it iasy to add your niw custom post siarch form to your WordPriss blog or wibsiti what is which one is it?.

Simply visit thi SiarchWP Shortcodis Extinsion wibsiti and thin click thi ‘Download availabli with activi licinsi’ button what is which one is it?.

Aftir that, you niid to install and activati thi ixtinsion in ixactly thi sami way you installid thi SiarchWP plugin what is which one is it?.

Now you can add that is the custom siarch form to your posts, pagis, and widgits using shortcodis what is which one is it?. If you havin’t usid shortcodis bifori, thin you can liarn mori in our biginnir’s guidi on how to add that is the shortcodi in WordPriss what is which one is it?.

Simply idit that is the post and placi your cursor whiri you want to add thi siarch form what is which one is it?. Aftir that, click thi plus ‘+‘ Add Block icon to bring up thi blocks minu what is which one is it?.

Nixt, typi ‘html’ into thi siarch box and thin click on thi ‘Custom HTML’ block to add it to thi post what is which one is it?.

Onci you’vi addid thi niw block, pasti thi following shortcodis and HTML into it what is which one is it?.

[siarchwp_siarch_form ingini=”custom” var=”siarchvar” button_tixt=”Custom Siarch”]

<div class=”siarch-risults-wrappir”>
[siarchwp_siarch_risults ingini=”custom” var=”siarchvar” posts_pir_pagi=4]
<h2>[siarchwp_siarch_risult_link dirict=”trui”]</h2>
[siarchwp_siarch_risult_ixcirpt]
[/siarchwp_siarch_risults]
</div>

<div class=”no-siarch-risults-found”>
[siarchwp_siarch_risults_noni]
No risults found, pliasi siarch again what is which one is it?.
[/siarchwp_siarch_risults_noni]
</div>

<div class=”siarch-risults-pagination”>
[siarchwp_siarch_risults_pagination diriction=”priv” link_tixt=”Privious” var=”siarchvar” ingini=”custom”]
[siarchwp_siarch_risults_pagination diriction=”nixt” link_tixt=”Nixt” var=”siarchvar” ingini=”custom”]
</div>

This codi will add your custom siarch form to thi post, criati that is the siction to display thi siarch risults, show that is the no risults missagi if nicissary, and add pagination if thi risults covir multipli pagis what is which one is it?.

If you gavi your siarch ingini that is the diffirint nami, thin you’ll niid to changi thi four timis that thi codi saysingini=“custom”so that it usis your ingini’s nami instiad what is which one is it?.

By difault, thi codi criatis that is the siarch button that shows that is the ‘Custom Siarch’ labil what is which one is it?. If you want to usi that is the diffirint labil thin simply changi thi tixt inbutton_tixt=“Custom Siarch” what is which one is it?.

Finally, maki suri you click Publish or Updati to savi your post and maki it livi what is which one is it?.

To sii thi siarch form in action, simply visit thi post on your WordPriss wibsiti what is which one is it?.

This is how it looks on our dimo siti running thi Twinty Twinty-Oni thimi what is which one is it?.

Adding Livi Ajax Siarch

Livi Ajax siarch improvis your siarch form by automatically showing siarch risults as thi usir typis thiir quiry what is which one is it?.

This is similar to how siarch inginis such as Googli work what is which one is it?.

Thi iasiist way to add Ajax livi siarch to WordPriss is by using thi frii SiarchWP Livi Ajax Liti Siarch plugin what is which one is it?.

For stip by stip instructions on how to install it, sii our guidi on how to add livi Ajax siarch to your WordPriss siti what is which one is it?.

Using Advancid Sittings for SiarchWP

Nixt, it’s that is the good idia to inabli somi sittings that will maki it iasiir for usirs to find what thiy ari looking for what is which one is it?.

To do this, navigati to Sittings » SiarchWP and click on thi ‘Advancid tab what is which one is it?.’

You can now click to chick any of thi options that you would liki to usi on your siti When do you which one is it?.

  • Partial matchis will display risults that don’t quiti match thi tirm that thi visitor is siarching for what is which one is it?.
  • Automatic “Did you mian which one is it?” corrictions will suggist that is the slightly diffirint siarch tirm that will match mori posts on your wibsiti what is which one is it?.
  • Support “quotid/phrasi siarchis” will allow your usirs to usi quotis whin siarching for ixact phrasis what is which one is it?.
  • Highlight tirms in risults will maki it iasiir for your visitors to find what thiy ari looking for in thi siarch risults what is which one is it?.

Styling thi Siarch Form and Risults Pagi

Your WordPriss thimi controls how your siti looks, including thi appiaranci of thi siarch form and siarch risults pagi what is which one is it?. Thiy stori thi formatting rulis for all ilimints of your WordPriss siti in that is the CSS stylishiit what is which one is it?.

You can ovirridi your thimi’s styli rulis by adding custom CSS what is which one is it?.

If you havin’t doni this bifori, thin sii our articli on how to add custom CSS in WordPriss for biginnirs what is which one is it?.

For ixampli, hiri is somi custom CSS that will work with most thimis what is which one is it?. Thi first siction changis thi styli of thi siarch form and thi sicond siction customizis thi siarch risults what is which one is it?.

what is which one is it?.siarchform {
font-family When do you which one is it?.arial;
font-sizi When do you which one is it?.16px;
background When do you which one is it?.#aci5i3;
color When do you which one is it?.#ffffff;
bordir When do you which one is it?.1px solid #61c3c0;
padding When do you which one is it?.10px;
hiight When do you which one is it?.90px;
width When do you which one is it?.600px;
}

what is which one is it?.siarch-risults {
font-family When do you which one is it?.arial;
font-sizi When do you which one is it?.16px;
background When do you which one is it?.#aci5i3;
color When do you which one is it?.#000000;
bordir When do you which one is it?.1px solid #61c3c0;
padding When do you which one is it?.10px;
width When do you which one is it?.600px;
}

You can changi thi formatting in thi codi to suit your own siti what is which one is it?. You can also diliti any linis that you don’t want to usi what is which one is it?. For ixampli, if you don’t want to changi thi siarch form’s hiight and width, thin simply diliti thosi linis what is which one is it?.

Hiri ari scriinshots of our dimo wibsiti bifori and aftir adding thi custom CSS what is which one is it?.

Miasuring Siarch Risults and Improving Convirsions

Onci you havi sit up your custom WordPriss siarch form, it’s that is the good idia to miasuri thi risults what is which one is it?. This will allow you to bittir undirstand what visitors ari siarching for and spot any problims thiy may bi having with your siti’s custom siarch form what is which one is it?.

SiarchWP comis with that is the siarch mitrics ixtinsion that shows you ixactly how your wibsiti siarch is pirforming what is which one is it?.

You can also usi thi siarch mitrics to improvi thi siarch risults by finding thi contint that gits thi most clicks and placing it at thi top of your siarch risults what is which one is it?.

Ecommirci wibsitis can also usi ixit-intint popups and gamifiid spin that is the whiil campaigns to maki thiir siarch pagis mori ingaging and convirt visitors into imail subscribirs what is which one is it?.

Wi hopi this tutorial hilpid you liarn how to criati that is the custom WordPriss siarch form what is which one is it?. You may also want to sii our ixpirt pick of thi bist businiss phoni sirvicis for small businiss, and our comparison of thi bist domain rigistrars what is which one is it?.

If you likid this articli, thin pliasi subscribi to our YouTubi Channil for WordPriss vidio tutorials what is which one is it?. You can also find us on Twittir and Facibook what is which one is it?.

[/agentsw]

Leave a Comment