EDITS.WS

Tag: searchwp

  • 12 WordPress Search Plugins to Improve Your Site Search (2023)

    Are you looking for the best WordPress search plugin to improve your site search?

    The default WordPress search feature is quite limited and ignores a lot of the content on your website. Thankfully, there are several WordPress plugins that can help you improve the default search experience.

    In this article, we will highlight the best WordPress search plugins to improve your site search.

    WordPress Search Plugins to Improve Your Site Search

    Why Use a WordPress Search Plugin?

    WordPress comes with a built-in search feature that can help visitors easily find what they are looking for.

    An example of a search bar on the WPBeginner website

    However, it is quite basic and doesn’t search all your site’s content, including comments, files, and products.

    The good news is that there are several search plugins that can help you improve the built-in WordPress search feature. Some of these plugins are built for specific purposes, like searching WooCommerce products, while others improve the search experience across your entire WordPress blog or website.

    That being said, let’s take a look at some of the best WordPress search plugins. Simply use the quick links below to jump straight to the plugin you want to learn more about:

    1. SearchWP

    The SearchWP WordPress search plugin

    SearchWP is one of the best search plugins for WordPress. It is very easy to use and provides much more accurate search results compared to the built-in WordPress search.

    SearchWP can search content that WordPress ignores by default, including custom post types, WooCommerce products, comments, PDFs, and more.

    The SearchWP search plugin

    You can create a completely custom search algorithm, similar to the algorithms used by search engines such as Google. This allows you to assign a weight (importance) to each attribute.

    Content that matches an attribute with high relevancy will appear higher in the search results. By contrast, content with an attribute that has less relevancy will appear lower in the user’s search results.

    For example, if you have uploaded your menu as a PDF on your restaurant website, then this is important content, and you will typically want to show it high in the search results.

    With that in mind, you can simply assign this content a higher attribute relevance so that matches appear high in the search results.

    Creating a custom search algorithm in WordPress using SearchWP

    SearchWP also integrates with WooCommerce, so you can make a smart WooCommerce product search and even customize the product search results page.

    You can even include product attributes, tags, reviews, and custom fields and taxonomies in the WooCommerce search results.

    In the following image, we have added ‘color’ and ‘size’ as searchable custom fields and added product tags and categories in the taxonomies field.

    Searching additional content types on your WordPress website

    After creating a custom search algorithm, you can then create an unlimited number of custom search forms.

    For example, if you sell digital downloads like eBooks, then you might make a search form that searches content with the ‘ebook’ tag. In this way, you can help shoppers find new books that they may want to buy.

    For step-by-step instructions on how to set up this plugin, please see our guide on how to improve WordPress search with SearchWP.

    Pros:

    • Automatically integrates with the built-in WordPress search.
    • Looks great with any WordPress theme.
    • Built-in search statistics.
    • Integrates with many popular WordPress plugins, including WooCommerce, Easy Digital Downloads, and bbPress.

    Cons:

    • Doesn’t include live Ajax search. However, you can add this missing feature by installing the free SearchWP Live Ajax Search plugin.
    • No free plugin, so you’ll need to purchase a license to try SearchWP.

    Why we chose SearchWP: SearchWP is a complete search toolkit that integrates perfectly with the native WordPress search. Simply create a search algorithm, and all the search fields and forms across your website will use SearchWP automatically.

    Pricing: Licenses start from $199 per year.

    2. ElasticPress

    The ElasticPress WordPress search plugin

    ElasticPress is a hosted WordPress search service built on ElasticSearch.

    Instead of running on your WordPress site, it runs the search queries in the cloud and shows results at lightning speed. It is extremely easy to integrate on any WordPress site and works with all the best WordPress hosting providers.

    ElasticPress can search content that the default WordPress search ignores, including custom fields, tags, PDF files, Microsoft Office documents, metadata, and more.

    ElasticPress has built-in live Ajax search, so you can show instant results as the user is typing. It also works well with WooCommerce, so shoppers can quickly find products they are interested in buying.

    You can create your own search algorithm using the Weighting dashboard and can even customize the top search terms to display your most popular WooCommerce products or top-performing content first.

    Pros:

    • Built-in autosuggest.
    • An advanced connector that can handle almost any search query.
    • Shows related posts and document content in the search results.
    • A hosted service, so ElasticPress won’t slow down your WordPress website.

    Cons:

    • ElasticPress is a hosted service and is a lot more expensive than any other search solution on this list. This means it may not be the best choice for beginners, personal blogs, or anyone who is working with a smaller budget.

    Why we chose ElasticPress: By offloading search to an external server, you can improve your WordPress search without slowing down your website. This may not be the cheapest search plugin on our list, but it’s a great choice for business websites or enterprise sites that need lightning-fast search.

    Pricing: Licenses start at $79 per month.

    The Ivory Search WordPress plugin

    Ivory Search is another excellent WordPress search plugin that replaces the default WordPress search.

    To improve search results, Ivory Search looks at post types, image metadata, custom fields, shortcodes, attachments, and more.

    An example of a WordPress search plugin

    You can also use Ajax to show live search results without reloading the page.

    The plugin also integrates with the WordPress theme customizer, so you can change how the search form looks using the tools you are already familiar with.

    How to improve the WordPress search

    With Ivory Search, you can create an unlimited number of forms with unique settings.

    You can then add these forms to different areas of your site using a shortcode that the plugin creates automatically.

    You can also add an advanced search form to any widget-ready area, such as the sidebar, using the Ivory Search block. This makes it easy to show the same form across your entire WordPress website.

    Another option is to add the search bar to any navigation menu. In the Ivory Search settings, you can simply enable the toggle for the menu where you want to show the search field.

    Adding a search bar to any WordPress navigation menu

    Studying the way that people use your website’s search can also help you learn more about your users. This includes finding any content gaps where visitors are searching for content that you don’t already have on your website.

    To provide this data, Ivory Search integrates with Google Analytics. However, before you can use this feature, you will need to install Google Analytics in WordPress.

    Ivory works with the best WordPress translation plugins, so it’s a good choice if you want to add multilingual search in WordPress.

    Pros:

    • Live Ajax search.
    • Easily change search form colors and messaging using the WordPress Customizer.
    • Add an advanced search field to any WordPress menu with the click of a button.
    • Supports multilingual search.
    • Integrates with popular plugins, including WooCommerce, Weglot, Polylang, and WPML.

    Cons:

    • Ivory Search’s interface can be overwhelming and confusing to navigate, particularly for first-time users.

    Why we chose Ivory Search: Although there’s a premium version, the free version is where Ivory Search really shines. If you are looking for a free WordPress search plugin that has everything you need to improve the default search, then the free download is a great option.

    Pricing: The base plugin is free, while Ivory Search premium starts at $19.99 per year.

    The Advanced Woo Search WordPress plugin

    The free Advanced Woo Search plugin can look for matches in the product title, content, excerpt, categories, tags, ID, and SKU.

    This can help shoppers find what they are looking for, including products they may not have found using the built-in WordPress search.

    The Advanced Woo Search WordPress plugin

    Advanced Woo Search has a straightforward settings page where you can toggle the different settings on and off, often with the click of a button. This makes the plugin very easy to set up and use.

    Advanced Woo Search also shows some useful extra information inside the search results, including the product image and price. It also integrates the results into your current layout, so it will look great with any WordPress theme.

    Once you have set up the plugin, it will synchronize the product data automatically. This means you won’t need to spend time manually re-indexing every time you update the product catalog. You can also add the search form to any page, post, or widget-ready area using a shortcode or widget.

    Pros:

    • Supports stop words, synonyms, and plurals.
    • Supports multiple currencies and variable products.
    • Orders search results based on where they were found.
    • Easy-to-understand settings.

    Cons:

    • The free plugin is missing some of the more advanced search features, including the ability to search product attributes and custom taxonomies.

    Why we chose Advanced Woo Search: If you are looking to improve the default WooCommerce search but don’t have the budget for a premium plugin, then this is a great option. It also supports live Ajax search out of the box, so shoppers can see relevant results without waiting for the page to reload.

    Pricing: You can download Advanced Woo Search for free from the official WordPress repository.

    5. SearchWP Ajax Live

    The SearchWP Ajax live WordPress plugin

    SearchWP Ajax Live is an addon plugin for SearchWP, but it works with any WordPress search form that uses the built-in WordPress template tags.

    This addon enhances your existing WordPress search with live Ajax search results that show up as soon as the user starts typing. This provides a better user experience and can return accurate results without even reloading the page.

    An example of live Ajax search on a WooCommerce store

    Live Ajax search can improve the search experience for all visitors, but it’s particularly useful if you are selling online courses, membership subscriptions, and other digital products. By helping visitors find relevant content faster, you can often get more sales.

    After activating the plugin, every search bar on your site will use live Ajax search automatically. You can also add a live Ajax search bar to any page, post, or widget-ready area using a block provided by the plugin.

    Adding live search to a widget-ready area

    If you are using a block-based theme such as ThemeIsle Hestia Pro, then you can add live Ajax search to any part of your WordPress theme.

    This includes areas you can’t edit using the standard WordPress content editor, like your site’s 404 page template.

    Pros:

    • Works out of the box with minimal settings to configure.
    • Adds live Ajax search to your WordPress blog, website, or online store, similar to the live search feature used by search engines like Google.
    • Works perfectly with the default WordPress search or the SearchWP plugin.

    Cons:

    • This plugin works out of the box with very few settings. While this makes the plugin easy to set up, it may feel limiting if you want more advanced customization options.

    Why we chose SearchWP Ajax Lite: Live search can help visitors find what they are looking for, fast. This free plugin works out of the box and automatically adds live Ajax search to all your search fields without you having to configure any complicated settings.

    Pricing: Free to download from the official WordPress repository.

    Adding advanced search to a WooCommerce store

    YITH WooCommerce Ajax Search is a great WooCommerce product search plugin that helps customers quickly find products in your store.

    It allows customers to search products by SKU, search within specific categories, and filter the results without reloading the page.

    Advanced WooCommerce search on an online store

    This plugin can also search content that WordPress ignores by default, including the product excerpt, product categories and tags, and variable products.

    YITH WooCommerce Ajax search is highly customizable. You can include thumbnails, badges, prices, and promotions in the live search results. This can provide shoppers with useful information, which will help them decide which product pages they want to visit.

    Both the free and premium versions of the plugin also allow you to customize how the search bar looks to better suit your online store.

    An example of a WordPress search plugin

    The plugin works with WooCommerce stores in any language and is fully compatible with multilingual WordPress sites and stores.

    Pros:

    • Shows results in real time.
    • Filter the results using categories and tags.
    • Search by SKU, which is perfect for stores with big product catalogs.
    • Highlight sales and promotions inside the search results.

    Cons:

    • Although there is a free version of the plugin, it’s quite limited compared to other live Ajax plugins. For example, the free version doesn’t look for matches within product tags and categories.

    Why we chose YITH WooCommerce Ajax Search: If you run a WooCommerce store, then live search can help customers find interesting products faster. With that being said, a live Ajax search plugin is a must-have, and this plugin integrates perfectly with WooCommerce. It’s also fully compatible with multilingual websites, which is perfect if you sell to an international audience.

    Pricing: Starting from $79.99 per year.

    7. FiboSearch

    The FiboSearch WordPress plugin

    FiboSearch is another excellent WooCommerce search plugin. It allows you to instantly fetch search results using Ajax without reloading the page.

    FiboSearch can search for matches in the product description, short description, SKU, attributes, custom fields, product categories and tags, and more.

    The FiboSearch WooCommerce search plugin

    You can also exclude out-of-stock products from the search results. This can get you more sales since you are not distracting shoppers with products they can’t currently purchase.

    You can also show more content as part of the live Ajax search. For example, you might add the product image, description, and pricing to provide shoppers with detailed product information without them even having to reload the page.

    An example of live Ajax search on an online store

    When the visitor hovers over an item in the live Ajax search, you can show an add to cart button along with a quantity field and extended product description. In this way, visitors can start the purchasing process without even visiting the product’s page.

    The live Ajax search bar is also fully customizable, so you can add your own messaging, change the submit button, and choose different search bar layouts.

    As you make changes, the plugin will show a preview of how the search bar will look on your online marketplace or store. In this way, you can easily try different settings to see what looks the best.

    Improving your WordPress search using a plugin

    When you are happy with how the search bar is set up, you can add it to any page, post, or widget-ready area using either a shortcode or block.

    Another option is adding the search bar to any menu in your WordPress theme. Simply go to Appearance » Menus and then add the new ‘FiboSearch bar’ item to any navigation menu.

    Adding FiboSearch to a navigation menu

    Pros:

    • Integrates with the default WooCommerce search results page. This means that shoppers will see exactly the same results in both the live Ajax search and the standard search results page.
    • Support for many popular multilingual plugins, including WPML, Polylang, and qTranslate-XT.
    • Support for Google Analytics.
    • Advanced search settings, including synonyms and fuzzy search.

    Cons:

    • Even if you upgrade to pro, FiboSearch doesn’t offer live chat or telephone support.

    Why we chose FiboSearch: This plugin allows you to show detailed information in the live Ajax search results and even include an ‘Add to Cart’ button. In this way, you can show helpful, informative results to shoppers without them ever having to reload the page.

    Pricing: The base plugin is free. The premium version starts at $49 per year.

    8. Husky Products Filter for WooCommerce

    The Husky Products Filter for WooCommerce WordPress search plugin

    Husky Products Filter for WooCommerce is a very useful search plugin designed exclusively for WooCommerce stores.

    It allows your customers to filter products by category, attributes, tags, taxonomies, meta fields, and price.

    Adding an advanced product search to WooCommerce

    Husky’s filters generate SEO-friendly links that you can add to your sitemap file. In this way, Husky can help improve your WooCommerce SEO.

    The Husky search form is fully customizable, so you can display the different options as radio buttons, checkboxes, multi-dropdown menus, and more.

    You can add search and filtering options to any page, post, or widget-ready area using a shortcode that the plugin creates automatically. Even better, Husky supports live Ajax search, so you can show live results anywhere on your online store.

    Husky is easy for beginners to set up but also offers tons of customization options for developers who want to use the plugin in custom product templates. For example, you can create a custom woo-products loop template and html-items for the search form.

    Pros:

    • Advanced WooCommerce search.
    • Built-in live Ajax support.
    • See the products your customers are looking for with built-in search statistics.
    • Support for infinite scrolling.
    • The option for more advanced users to create custom layout templates. 

    Cons:

    • Although the plugin offers live Ajax search, according to the WordPress.org listing, this feature isn’t guaranteed to work with all WordPress themes.

    Why we chose Husky Products Filter for WooCommerce: This plugin allows you to replace the limited built-in WooCommerce search, no matter what your budget is. Although the live Ajax search isn’t guaranteed to work with all WooCommerce themes, this is still a generous feature to include in a free plugin.

    Pricing: Free.

    9. Relevanssi

    The Relevanssi WordPress search plugin

    Relevanssi is another popular WordPress search plugin that improves WordPress search by fetching more relevant results.

    Relevanssi adds PDF indexing and searching in WordPress, so visitors can search the contents of your site’s PDF files. Relevanssi can also search shortcode outputs, custom fields, user profiles, categories and tags, WooCommerce products, and more.

    An example of a WordPress search plugin

    Relavanssi also supports fuzzy matching and exact matches and can highlight the search terms in the results page.

    All of this can help visitors find what they are looking for, faster.

    Enabling fuzzy search in WordPress

    Pros:

    Cons:

    • Relevanssi has compatibility issues with some page builder plugins, BuddyPress, NextGen Gallery, and a few more. If you do run into problems, then you can see our step-by-step guide on how to properly ask for WordPress support and get it.
    • Relevanssi may take up lots of database space. With that in mind, it’s not recommended if your WordPress hosting has limited space for database tables.

    Why we chose Relevanssi: Many of the free search plugins on this list are designed for use with online WooCommerce stores. However, Relevanssi is a free plugin that’s a great fit for all kinds of WordPress blogs and websites. If you run a membership website, then Relevanssi also integrates with many of the top membership plugins.

    Pricing: The base plugin is free. You can upgrade to the premium version for $109 per year.

    The WP Extended Search WordPress plugin

    WP Extended Search is a lightweight and simple WordPress search plugin that allows you to easily extend the default WordPress search.

    You can just go to the plugin settings and select the options you want to include in the search results. For example, you can search in the author name, taxonomies, post types, meta data, and more.

    The WP Extended Search settings

    The plugin extends the default WordPress search, so you don’t need to add any shortcodes or widgets. As long as you are using the built-in WordPress search, you simply need to install and activate the plugin, and you are good to go.

    If you want to offer a more advanced search, then you can create multiple custom search forms with unique settings. You can then add these search forms to any part of your site using a widget, shortcode, PHP function, or HTML.

    Adding search forms to your WordPress blog or website

    Pros:

    • Automatically improves the default WordPress search.
    • Create an unlimited number of custom forms.
    • Optionally exclude old content from search results.
    • Show partial matches or exact matches only.
    • Compatible with WooCommerce.

    Cons:

    • Missing some more advanced features, particularly live Ajax search.

    Why we chose WP Extended Search: If you are looking for a quick and easy way to enhance the standard WordPress search, then this plugin works out of the box. Although there are some more advanced settings you can explore, this is a very lightweight plugin that’s easy to set up.

    Pricing: Free.

    The Better Search WordPress plugin

    Better Search is another free WordPress plugin that automatically replaces the default WordPress search.

    This plugin allows you to search across all post types, including custom post types. It will also look for matches in the title, post content, excerpt, meta fields, authors, tags, and comments.

    The Better Search WordPress plugin

    You can also change the weight of either the title or the content based on what better suits your website.

    This plugin has a unique search heatmap feature that shows the most popular searches. You can add this widget to an area, such as the sidebar or footer, to encourage visitors to explore your site’s most popular search terms and content.

    Pros:

    • Automatically integrates with the default WordPress search. If your WordPress theme doesn’t have a built-in search form, then you can add one by using widgets in WordPress.
    • The option to use your own template file or custom CSS.
    •  Works with caching plugins like WP Super Cache and W3 Total Cache
    • Create a list of stop words that Better Search will filter out of search queries.

    Cons:

    • No option to search based on category or product attribute.
    • Doesn’t support live Ajax search.

    Why we chose Better Search: Better Search provides a good range of features for a free plugin, plus some unique functionality. In particular, their heatmap is an innovative way to encourage visitors to explore more search terms and content and may make this a stand-out plugin for some website owners.

    Pricing: Free.

    12. Search Exclude

    The Search Exclude WordPress plugin

    Sometimes, you don’t want to include all your content in the search results. For example, if you are running an online store, then you may want to hide pages like your account page, custom checkout page, thank you page, and more.

    Search Exclude allows you to exclude content that you don’t want to show in the WordPress search results. You can simply check a box to exclude pages, posts, WooCommerce products, and more.

    The Search Exclude WordPress plugin

    Even better, this plugin doesn’t hide your content from search engine crawlers. This means the hidden content will still show up in search engines like Google.

    If you want to hide lots of different pages, posts, and other content, then this plugin also integrates with the bulk edit feature.

    Excluding multiple items from the WordPress search results

    You can go to the plugin’s settings at any point to see all the items that you have excluded from the search.

    Pros:

    • A simple plugin that allows you to exclude content from the search results.
    • Doesn’t affect your WordPress SEO.

    Cons:

    • This plugin simply hides items from the search results. This means you will likely still need to install extra search plugins.

    Why we chose Better Search: This plugin does one task, and does it well. If you are happy with the default WordPress search, but simply want to hide a few pages, then this plugin is the perfect solution.

    Pricing: Free.

    Which Is the Best WordPress Search Plugin?

    We believe that SearchWP is the best WordPress search plugin for most websites. It allows you to search all the content types that the built-in WordPress search ignores by default and makes it easy to create a custom search algorithm.

    After that, you can create an unlimited number of unique search forms and add them to any page, post, or widget-ready area.

    Although the core SearchWP plugin doesn’t offer live Ajax search, you can easily add this feature using the SearchWP Live Ajax Search.

    FAQs About WordPress Search Plugins

    In this guide, we have covered all of the best WordPress search plugins. If you still have questions, then here are our FAQs about improving the built-in WordPress search.

    Does WordPress have a search feature?

    Most WordPress themes have a built-in search feature. However, the default search is typically quite limited and doesn’t provide accurate search results.

    For that reason, we recommend installing an advanced search plugin like SearchWP.

    Is the default WordPress search good enough for my website?

    Although WordPress has a basic built-in search, we don’t recommend relying on it. By default, WordPress doesn’t search widgets, user comments, categories, tags, WooCommerce products, or PDF documents. It also doesn’t search image gallery titles, captions, or alt text.

    When creating the search results page, WordPress will start by displaying any posts that have the search term in the post title, arranged in reverse-chronological order, meaning that the newest entries will be displayed at the top of the results.

    After that, it will show any posts that have the matching term in the post content.

    This may not be a problem for blogs that only have small amounts of content. However, this ordering logic can often show inaccurate or confusing results when you have lots of content.

    For more on this topic, please see our look at how WordPress search works.

    How do I make my WordPress search better?

    The best way to improve the default WordPress search is by using an advanced search plugin like SearchWP. These plugins allow you to search content types that WordPress ignores by default and may even add useful features such as live Ajax search.

    How do I add live search to my WordPress website?

    The best way to add live search to your website is by using SearchWP Live Ajax Search. This free plugin instantly adds live search to all the forms and search bars across your entire WordPress website.

    For more information, please see our guide on how to add live Ajax search.

    How do I make my WordPress website a search engine like Google?

    You can create your own custom search algorithm using SearchWP. This allows you to assign weights to different attributes, such as the post’s title or its tags. In this way, you can control exactly where your content appears in the WordPress search results.

    After that, you can add live search to your site using SearchWP Live Ajax Search. This plugin suggests results as the visitor is typing, just like search engines such as Google.

    For more information, please see our guide on how to improve WordPress search.

    We hope this article helped you find the best WordPress search plugin for your website. You may also want to see our guide on how to create an advanced search form for custom post types and our expert list of the must-have WordPress plugins for small businesses.

    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.

    The post 12 WordPress Search Plugins to Improve Your Site Search (2023) first appeared on WPBeginner.

  • How to Create Advanced Search Form in WordPress for Custom Post Types

    Do you want to create an advanced search form in WordPress for custom post types?

    If you use custom post types, then you may want to create a form that allows visitors to search only that content. This can help people find what they are looking for and keep them on your site for longer.

    In this article, we will show you how to create an advanced search form for custom post types in WordPress, step-by-step.

    How to create advanced search form in WordPress for custom oost types

    Why Create an Advanced Search Form for Custom Post Types?

    Custom post types allow you to go beyond posts and pages and make different content types for your website. For example, we use custom post types here at WPBeginner to organize our Deals and Glossary sections.

    However, WordPress doesn’t include custom post types in its search results by default. As a result, visitors may miss out on important content, and you will miss out on pageviews.

    Thankfully, you can include custom post types in your search results using a WordPress search plugin. You can even go one step further and create an advanced form that searches custom post types only.

    For instance, at WPBeginner, we have created custom post type search forms on our Deals and Glossary pages.

    An example of a custom search form on the WPBeginner website

    Often, this kind of advanced search form will help visitors find what they are looking for faster, which will improve the visitor experience and reduce the bounce rate.

    First, you can see our guide on how to make custom post types in WordPress. Then, you can jump into our tutorial on how to create an advanced WordPress search form for custom post types.

    Create a New WordPress Search Algorithm With a WordPress Plugin

    The easiest way to create an advanced search form for custom post types is by using the SearchWP plugin. It’s the best search plugin and allows you to search content that WordPress ignores by default.

    For example, you can make blog comments searchable and add PDF indexing and searching to your website.

    How to Set up SearchWP

    The first thing you need to do is install and activate the SearchWP plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

    Upon activation, you must go to SearchWP » Settings and click on the ‘General’ tab.

    Activating the SearchWP search plugin

    You now need to enter your license in the ‘License Key’ box. You can find this information in your account on the SearchWP site.

    Once you are done, make sure to click the ‘Verify Key’ button.

    Creating a Custom Search Algorithm

    Your next task is creating a custom search algorithm. It allows you to specify the content that SearchWP includes in its search results, like pages, posts, media, and any custom post types.

    To get started, you need to go to SearchWP Â» Algorithm in your WordPress admin dashboard.

    Creating a search algorithm using SearchWP

    Here, you will see a section for every content type that SearchWP includes in its search results.

    To add your custom post type, just click the ‘Sources & Settings’ button.

    How to add custom post types to a WordPress search engine

    In the popup that appears, check the box next to each custom post type that you want to include in the search results.

    After that, click on ‘Done’.

    Creating a WordPress search form for custom post types

    SearchWP will add a new section for each custom post type. Each section shows all the attributes that SearchWP will include in its searches, such as the title, slug, and excerpt.

    If you want to add or remove attributes, then simply click on ‘Add/Remove Attributes’.

    Creating a search form for custom post types

    In the popup, check the box next to each attribute you want to include in the search results.

    To remove an attribute, you can uncheck its box instead.

    Adding attributes to the SearchWP search algorithm

    In this popup, you can also make custom fields searchable in WordPress.

    When you are happy with the changes you have made, go ahead and click on ‘Done’.

    You will notice that each attribute also has an Application Attribute Relevance slider. This controls how SearchWP ranks the content when building its search results page in WordPress.

    If an attribute has high relevancy, then it will have a bigger impact on the search results. By contrast, content that matches an attribute that has less relevancy will appear lower in the search results.

    For example, if you move the ‘Title’ slider to the right and the ‘Content’ slider to the left, then a post’s title will carry more weight than the content.

    Creating a custom search form for your WordPress blog or website

    Every WordPress website is unique, so you may want to try different relevancy settings to see what gives you the most accurate and helpful search results.

    For example, if you have created a ‘customer reviews’ custom post type for your online store, then this is important content, so you may want to give it a high relevance.

    When you are happy with how the search feature is set up, just scroll to the top of the screen and click the ‘Save’ button.

    Saving the custom post type search algorithm

    SearchWP will now rebuild the index automatically. Depending on the speed of your Internet connection and your WordPress hosting provider, this may take a few minutes.

    As soon as you see ‘Index Status 100%’, you will know that SearchWP has added your custom post types to its search index.

    Adding custom post types to the WordPress search index

    Your WordPress blog, website, or online marketplace will now include custom post types in its search results.

    Create an Advanced Search Form for Custom Post Types

    With that done, you are ready to make an advanced form that searches your custom post types only.

    To get started, head over to SearchWP » Search Forms and click the ‘Add New’ button.

    Creating a new custom search form

    This creates a new form, ready for you to customize.

    To give this form a unique name, click on the small pencil icon next to ‘Search Form 1’.

    Renaming the custom search form using SearchWP

    You can now type in a name for the custom search form.

    This is just for your reference, so you can use anything that helps you identify the form in your WordPress dashboard. This is particularly important if you plan to create multiple search forms in WordPress.

    Creating an advanced search form using SearchWP

    After that, you can choose the layout you want to use using the ‘Layout Theme’ thumbnails.

    Simply click on the different themes to see a preview of how this style will look on your WordPress website.

    Choosing a theme for the custom search form

    To create a search form for custom post types, you will typically want to use either ‘Basic’ or ‘Quick Search’.

    These styles don’t allow visitors to search by category, which helps to keep them focused on custom post types.

    Creating a quick search form for your WordPress website or blog

    After making your decision, scroll to the ‘Custom Styling’ section.

    The settings you see may vary depending on your theme layout. For example, if you selected ‘Quick Search’, then the ‘Quick Search’ setting will be enabled by default.

    Adding custom styling to a search bar in WordPress

    You can disable and enable the different options using their toggles.

    The live preview will update automatically as you make changes, so you can try different settings to see what works the best.

    By default, the form will search media, pages, and posts and ignore custom post types. To include custom post types, you need to find the ‘Type of search’ field and give it a click.

    Searching posts, pages, media, and more using SearchWP

    You can now type in the name of each custom post type.

    When the right post type appears, give it a click to add it to the search.

    Adding custom types to a WordPress search bar or form

    Do you want to search custom post types only and ignore all other content?

    Then just click the small ‘X’ next to ‘Media’, ‘Pages’, and ‘Posts’.

    Removing post types from a custom search algorithm

    With that done, the form will search your custom post types only.

    When you are happy with how the form is set up, scroll to the ‘Form Style’ section. Here, you can choose between different form styles, add a border, change the font size, and more.

    Changing the WordPress form style

    Under ‘Button Style’, you can customize the ‘Search’ button that appears in the form.

    When you are happy with how the form is set up, scroll to the top of the screen and click on ‘Save’ to store your settings.

    Saving the custom search settings on your website or blog

    How to Add the Custom Post Types to WordPress

    Now, you are ready to add the search form to WordPress using either a shortcode or block.

    The easiest method is to use a block, so head over to the page or post where you want to add the custom post type form.

    You can then click on the ‘+’ icon and type in ‘Search Form’.

    Adding a search block to your WordPress blog or website

    When the right block appears, give it a click.

    Next, open the ‘Select a Form’ dropdown menu and choose the search form you made during this tutorial.

    Showing a custom search from in WordPress

    When you are ready to make the search form live, simply click on either ‘Update’ or ‘Publish’. Now, you can visit your website to see the search form in action.

    Another option is to add the search form using a shortcode.

    To get the shortcode, you need to head over to SearchWP » Search Forms. Here, find the search form that you want to show and copy the value in the ‘Shortcode’ column.

    Getting the shortcode for a custom search form

    You can now add the shortcode to any page, post, or widget-ready area. For step-by-step instructions on how to do this, please see our guide on how to add a shortcode in WordPress.

    We hope this article helped you learn how to create an advanced search form in WordPress for custom post types. You may also want to see our custom post types tutorials and our expert picks for the best WordPress plugins to grow your website.

    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.

    The post How to Create Advanced Search Form in WordPress for Custom Post Types first appeared on WPBeginner.

  • How to Use Multiple Search Forms In WordPress

    Do you want to make multiple search forms in WordPress?

    By default, a search form will look through all your pages, posts, and media on your website. However, you can often improve the visitor experience by creating multiple forms that search specific categories, content types, and more.

    In this article, we will show you how you can add and use multiple search forms on your WordPress site.

    How to use multiple search forms in WordPress

    Why Use Multiple Search Forms in WordPress?

    A search form can help visitors find what they are looking for, fast. However, if you have lots of content, then it might make sense to create multiple forms that search specific types of content.

    For example, if you run an online store, then you might create a smart WooCommerce product search that searches specifically for products.

    You can also create an advanced search form for custom post types. For example, at WPBeginner, we have created custom post type search forms for our Deals and Glossary pages.

    An example of a custom post search form

    By using different search forms in different locations across your site, you can help visitors get accurate and helpful search results, no matter how much content you have published. This will improve the visitor experience and reduce the bounce rate.

    That being said, let’s show you how to create multiple search forms in WordPress.

    Create a New WordPress Search Algorithm With a WordPress Plugin

    The easiest way to add multiple search forms to your WordPress website is by using the SearchWP plugin. It’s one of the best search plugins for WordPress, used by over 30,000 sites.

    SearchWP

    With SearchWP, you can search content that WordPress ignores by default, including custom post types, PDF files, WooCommerce products, and categories. You can also create multiple different search forms and then add those forms to any page, post, or widget-ready area.

    Setting Up SearchWP

    The first thing you need to do is install and activate the SearchWP plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

    Upon activation, go to SearchWP » Settings and then click on the ‘General’ tab.

    Activating the SearchWP search plugin

    Here, you need to enter your license in the ‘License Key’ box. You can find this information in your account on the SearchWP site.

    With that done, just click the ‘Verify Key’ button.

    Create a Custom Search Algorithm For WordPress

    After entering the license key, it’s a good idea to fine-tune how SearchWP indexes, searches, and displays your content. You can think of this as creating a custom Google search algorithm that’s just for your WordPress blog or website.

    These are the general settings that all search forms will use by default. You can override these settings for the individual search forms.

    To get started, head over to SearchWP Â» Algorithm.

    Creating a search algorithm using SearchWP in WordPress

    Here, you will see a section for the different content types that SearchWP searches by default, such as pages and posts.

    You will notice that each item has an ‘Applicable Attribute Relevance’ scale. This is the weight (importance) that SearchWP will give to each attribute.

    SearchWP's attribute relevance settings

    Content that matches an attribute with high relevancy will appear higher in the search results. By contrast, content that matches an attribute that has less relevancy will appear lower on the search results page.

    To change the relevancy, simply drag the different sliders. For example, if you move the ‘Title’ slider to the left and the ‘Content’ slider to the right, then the content will carry more weight than the title.

    An example of attributes with different relevancy settings in a custom search algorithm

    You can even tell SearchWP to search content that WordPress ignores by default.

    To do this, click on the ‘Sources & Settings’ button.

    How to make more content searchable in WordPress

    You can now check the box next to the different content types. For example, you may want to make blog comments searchable or add PDF indexing and searching in WordPress.

    When you are happy with your changes, simply click on the ‘Done’ button.

    How to add comments, media, and more to the WordPress search results

    This adds a new section for each content type. Once again, you can change the attribute relevance using the different sliders.

    When you are happy with how the search algorithm is set up, just scroll to the top of the screen and click the ‘Save’ button.

    Saving your improved WordPress search settings

    SearchWP will now rebuild the index automatically. Depending on the speed of your Internet connection and your WordPress hosting provider, this may take a few minutes.

    As soon as you see ‘Index Status 100%’, you will know that SearchWP has indexed all your content and settings.

    Rebuilding the WordPress search index

    Create Multiple Different Search Forms in WordPress

    Now, you can create as many different search forms as you want.

    To get started, head over to SearchWP » Search Forms and click the ‘Add New’ button.

    How to create a new search form using SearchWP

    This creates a new search form, ready for you to customize. For example, if you run a review website, then you might create a form that searches for product review posts and ignores other content like your blog posts and media.

    To start, you will need to give the form a unique name by clicking on the small pencil icon next to ‘Search Form 1’.

    Adding a name to the search form

    You now type in a name for the custom search form.

    Since you are going to make multiple search forms in WordPress, it’s important to use a name that helps you identify this form in the WordPress dashboard.

    Adding a title to a custom search form

    After that, you can choose a layout using the ‘Layout Theme’ thumbnails.

    Some of these layouts are designed for specific search forms. For example, if you are creating a form that searches by category in WordPress, then we recommend selecting ‘Category Search’, as it already has many of the settings you need.

    Choosing a layout for a custom search form

    Simply click on the different themes to see a preview of how this form will look on your website. After making your decision, scroll to the ‘Custom Styling’ section.

    The settings you see may vary depending on your theme layout. For example, if you selected ‘Quick Search’, then the ‘Quick Search’ setting will be enabled by default.

    The quick search SearchWP theme and settings

    You can disable and enable the different options using their toggles. The live preview will update automatically as you make changes, so you can try different settings to see what works the best.

    Depending on your layout and the kind of form you want to create, you may need to enable and disable some of the ‘Custom Styling’ settings.

    Do you want to create a form that searches by category? Then you will need to enable the ‘Category Search’ toggle.

    After that, find the ‘Select Category’ field and type in each category that you want to include in the search results. For example, if you run an online store, then you may want to create forms that search specific WooCommerce product categories.

    Creating multiple search forms for WordPress

    If you want to allow visitors to filter their search results using factors like the author, post type, and tag, then you will need to click to enable the ‘Advanced Search’ toggle.

    After that, scroll to the ‘Advanced Search Filter/s’ field. By default, SearchWP allows visitors to filter their results using Authors, Post Types, and Tags.

    Creating an advanced search form in WordPress

    To remove any of these filters, just click on its ‘X’ button. If you want to add more filters, then simply type their names into the field.

    Then, when the right option appears in the dropdown, give it a click.

    Adding filters to the WordPress search

    By default, the form will search media, pages, and posts. If you have created custom post types, then you may want to include these in the search results.

    To do this, find the ‘Type of search’ field and give it a click.

    Adding multiple search forms to a WordPress website

    You can now type in the name of each custom post type.

    When the right custom post type appears, click to add it to the search.

    How to search custom post types in WordPress

    Do you want to exclude media, pages, or posts from the search results?

    Then just click the small ‘X’ next to ‘Media’, ‘Pages’, or ‘Posts’.

    Removing content types from your WordPress search results

    When you are happy with the type of content that SearchWP will search, you may want to add some placeholder text to the search bar.

    Here, we recommend letting visitors know how the search form works and the results they should expect to get. For example, if you have an online marketplace, then you may want to use text such as ‘Search for products’ or ‘Start shopping’.

    By default, SearchWP will show a generic ‘Enter keyword and search’ message. You can replace this with your own messaging by typing into ‘Field Label’.

    Adding a label to a search form on your WordPress blog or website

    By default, the search form shows a magnifying glass and a blue ‘Search’ button.

    To remove the ‘Search’ button, simply click to deactivate the ‘Search Button’ toggle.

    Customizing a search form in WordPress

    When you are happy with these settings, scroll to the ‘Form Style’ section.

    Here, you can choose between different form styles, add a border, and change the font size.

    Changing the SearchWP for style

    Under ‘Button Style,’ you can customize the ‘Search’ button that appears in the form.

    Finally, when you are happy with how the form is set up, you can scroll to the top of the screen and click on ‘Save’ to store your settings.

    Saving your custom WordPress search form

    To create more custom search forms with unique settings, simply repeat the exact same process described above.

    Add Multiple Search Forms to Your WordPress Site

    You can add multiple search forms to any page, post, or widget-ready area using either a shortcode or the Search Form block.

    Since it’s the easiest, let’s start by looking at the block method.

    How to Add Search Forms to a Page or Post

    You may want to add a search form to a specific page or post or even show it inside the post content.

    For example, you might add a search form to your FAQ page, documentation, help desk, knowledge base, or similar. This can improve the customer experience by helping users find answers and useful resources.

    Search form in page example

    To get started, simply head over to the page or post where you want to add the form.

    You can then click on the ‘+’ icon and type in ‘Search Form’.

    Adding a search form to a page or post using a block

    When the right block appears, give it a click.

    You can now open the ‘Select a Form’ dropdown and choose the form you want to show on this page or post.

    Choosing a search form

    When you are ready to make the search form live, just click on either ‘Update’ or ‘Publish’. Now, simply visit this page or post to see the search form in action.

    How to Add Search Forms to a Widget-Ready Area

    Another option is to add a search form to a widget-ready area, such as the sidebar or similar section. This is an easy way to show the same search bar across multiple pages on your WordPress website.

    Go to Appearance » Widgets to see all the different areas where you can add widgets.

    Adding a search widget to a blog or website

    The options you see may vary depending on your WordPress theme. For example, if you are using the Astra theme, then the sidebar widget area is called ‘Main Sidebar’.

    Simply click the ‘+’ block icon in the area where you want to add a widget.

    Add new block widget

    Then, type in ‘Search Form’.

    When the right block appears, click to add it to your website.

    Adding a search form widget to your website

    You can now open the dropdown menu and choose the search form that you want to use.

    When you are finished, just click the ‘Update’ button to make the search form live.

    Adding a search form to a blog or website

    Now, you can visit your site to see the improved search form.

    For more on this topic, please see our guide on how to add and use widgets in WordPress.

    How to Add Search Forms Using the Full Site Editor

    If you are using a block WordPress theme, then you can add search forms using the full site editor. It includes areas that you can’t edit using the standard WordPress content editor. For example, you can add a search form to your 404 template in WordPress.

    To get started, head over to Appearance » Editor in the WordPress dashboard.

    Launching the full-site editor (FSE) in WordPress

    By default, the full site editor shows your theme’s home template, but you can add a search form to any template.

    In the left-hand menu, simply click on ‘Templates’ or Template Parts’ depending on where you want to add the search form.

    Editing a block-based template or template part

    You will now see a list of all the templates that make up your WordPress theme.

    Simply find the template or template part that you want to edit, and give it a click.

    Adding a custom search form to a website template or template part

    WordPress will now show a preview of this template.

    To go ahead and edit the template, click on the small pencil icon.

    Adding a search form to an archive template

    Now, click on the ‘+’ icon.

    In the panel that appears, type in ‘Search Form’.

    Adding the SearchWP search widget to WordPress

    When the right block shows up, drag and drop it into your layout.

    You can now open the dropdown menu and choose the search form that you want to use.

    Showing different search form widgets in WordPress

    With that done, just click on the ‘Save’ button to make your changes live.

    How to Add a Search Form to WordPress Using a Shortcode

    Another option is to add a search form using its shortcode. This may be an easier option if you want to add the same search form to multiple pages, posts, or widget-ready areas, as you can simply paste the same shortcode into multiple locations.

    To get a search form’s shortcode, head over to SearchWP » Search Forms. Here, find the search form that you want to show and copy the value in the ‘Shortcode’ column.

    How to add a search form to WordPress using shortcode

    You can now add the shortcode to any page, post, or widget-ready area. For step-by-step instructions, please see our guide on how to add a shortcode in WordPress.

    We hope this article helped you learn how to use multiple search forms in WordPress. You may also want to see our guide on how to increase your blog traffic and our expert picks for the best WordPress form plugins.

    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.

    The post How to Use Multiple Search Forms In WordPress first appeared on WPBeginner.

  • How to Do a UX Audit of Your WordPress Site

    Do you want to perform a User Experience (UX) audit of your WordPress website?

    User experience is an important factor in the success of a website. A good user experience can lead to more conversions and sales, while a poor UX can cost you money.

    In this article, we will show you how to easily do a UX audit of your WordPress website step-by-step.

    Performing a UX audit on a WordPress website

    Here is a quick overview of all the steps we will cover to perform a UX audit on your WordPress website:

    What Is UX, and Why Is It Important?

    User experience or UX describes the feelings and opinions that users have while using your website.

    A pleasant user experience means users find your website easy to use and helpful.

    By contrast, a poor user experience means users find your website difficult to use and can’t do what they want to do.

    Creating a good user experience allows you to help users make the most out of your website. This eventually leads to conversions, sales, and business growth.

    On the other hand, a negative user experience can cause visitors to leave your website without signing up or buying something in your online store. This causes you to lose potential sales and customers.

    How to Perform a UX Audit of Your Website

    As a business owner, you need to regularly check your website to make sure that it offers a good user experience.

    This practice is called a UX audit. You can perform a UX audit by yourself using a combination of tools (you may already be using some of them).

    During this process, you will look for issues that may negatively affect user experience on your website. When you find a problem, you can document it and then start fixing it.

    Ready? Let’s get started.

    Step 1: Define User Goals and Objectives

    First, you need to put yourself into users’ shoes to understand what they are looking for when they reach your website.

    For instance, if your website is an online store selling pet toys, your audience’s goal is likely to look at pet toys, read customer reviews for those products, and make a purchase.

    Similarly, if you run a how-to blog, then your audience’s goal would be to read a tutorial and learn how to do something.

    Understanding what your users want to achieve will allow you to help them better.

    The easiest way to do this is by creating user personas for your target audience.

    Creating user personas for UX audit

    This exercise allows you to better understand users and their expectations of your website. Most importantly, it helps you figure out the goals and objectives of your target audience.

    You can then analyze your website using these personas to see how quickly your content, products, and services can help those users.

    Step 2: Test Your Website for Usability Issues

    Testing your website for usability helps you quickly find problems that could destroy the user experience.

    However, many issues often go unnoticed by website administrators until a user reports them. Users are more likely to switch to your competitor’s website than tell you about issues on your site.

    Luckily, there are plenty of excellent tools that you can use to quickly detect potentially harmful usability issues on your website.

    PageSpeed Insights (Free)

    Google’s PageSpeed Insights tool lets you quickly examine a URL for performance and usability issues.

    It runs tests on your website and then presents the results for both mobile and desktop devices by assigning each one a score.

    This score is given in four categories:

    1. Performance
    2. Accessibility
    3. Best Practices
    4. SEO

    It also tests for Core Web Vitals, which are a set of website performance metrics that Google considers essential to a website’s overall user experience. 

    PageSpeed Insights preview

    When you run the test, the language may initially sound too technical. However, you will also find links to resources explaining these concepts in beginner-friendly terms with tips on resolving each issue.

    You can also read our guide on how to optimize your website for Google’s Core Web Vitals.

    Google Search Console

    PageSpeed Insights is a handy tool to quickly look up URLs.

    However, you will have to manually run the tests, and you can’t find which pages on your website are having issues until you specifically test them.

    What if you could automate this process, quickly find the pages with usability issues, and get alerts when a new problem is detected?

    This is where Google Search Console comes in.

    It is a free tool provided by Google for website administrators who want to see how their websites are performing in search.

    User experience is an essential metric for search rankings. This is why Google wants to alert website owners when a usability issue is detected.

    First, you will need to visit Google Search Console and add your website as a property. For instructions, you can follow our tutorial on how to add your website to Google Search Console.

    Once you have added your website, it may take a while for Google to collect some data and start showing reports.

    After that, you will see your site’s performance and usability reports in the ‘Experience’ section.

    User experience section under Google Search Console

    You can click on each report and drill down to find the pages where usability issues are detected.

    For example, on this demo website, we found four pages in the ‘Mobile Usability’ section that were having issues.

    Pages with usability issues

    You can click on each row to find the exact pages where the issues were detected.

    Google Search Console will also alert you by email when a new crawling or usability issue is detected.

    Besides usability and crawling issues, Google Search Console is a treasure trove of valuable data. To learn more, you can see our expert tips on using Google Search Console to get more traffic.

    Step 3: Find the Pages Performing Poorly

    Automated tools can help you catch many problems. However, they are not perfect and may not be able to identify many common UX problems.

    If you have a small website, you can go to each page to manually review it yourself. However, it is impossible for most medium to large websites to do this manually.

    So, how do you find pages with poor UX?

    One easy way to find these pages is by using MonsterInsights. It is the best Google Analytics plugin on the market that allows you to see where your users are coming from and how they interact with your website.

    The MonsterInsights Google Analytics plugin

    First, you need to install and activate the MonsterInsights plugin. For more details, see our tutorial on how to install a WordPress plugin.

    Note: There is also a free version of MonsterInsights that you can try. However, we recommend upgrading to the paid version and unlocking the full potential of the plugin.

    Upon activation, the plugin will run the setup wizard and help you connect WordPress with your Google Analytics account.

    For more details, you can see our tutorial on how to install Google Analytics in WordPress.

    Once you are connected, MonsterInsights will start tracking your website visitors.

    Next, you need to set up the plugin to easily track conversions.

    Enable eCommerce Conversion Tracking

    If you use an eCommerce platform on your WordPress website, MonsterInsights can help you easily track conversions.

    Google Analytics comes with enhanced eCommerce tracking, which works for most eCommerce websites, including WooCommerceEasy Digital DownloadsMemberPress, and more.

    However, you will need to enable it for your website manually.

    Start by visiting the Insights » Addons page in your WordPress admin dashboard to install and activate the eCommerce addon.

    Enable eCommerce tracking

    Next, you need to enable enhanced eCommerce tracking in your Google Analytics account. Go to your Google Analytics dashboard and select your website.

    From here, click on the ‘Admin’ button in the bottom left corner.

    Switch to admin view in Google Analytics

    On the next screen, you will see different Google Analytics settings.

    Under the ‘View’ column, just click the ‘Ecommerce Settings’ link.

    Ecommerce settings in Google Analytics

    On the next screen, simply turn on the toggles next to the ‘Enable Ecommerce’ and ‘Enable Enhanced Ecommerce Reporting’ options.

    Don’t forget to click the ‘Save’ button when you are done.

    Enable eCommerce reporting in Google Analytics

    Check Low Conversion Pages for UX Issues

    Poor user experience is one of the main reasons for low conversions, abandoned carts, and high bounce rates.

    You can view your conversion tracking reports in MonsterInsights to find pages with low conversions and higher bounce rates.

    Simply go to the Insights » Reports page inside the WordPress admin area and then switch to the ‘eCommerce’ tab.

    Viewing eCommerce reports

    From here, you can see an overview of your top-performing products and conversion sources.

    For advanced reports, you need to switch to your Google Analytics account and go to the Engagement » Pages and screens tab.

    From here, you can sort the pages by conversion rate to see the pages with the least conversions.

    Low conversion pages

    Using Google Analytics, you can also track pages with the highest bounce rates, the least amount of time spent on them, and more.

    For more conversion tracking options, you can see our complete guide on WordPress conversion tracking. It will also show you how to track form conversions, affiliate link conversions, and more.

    Step 4: Ask For User Feedback

    As you can see, many UX audit activities involve automated tools, analytics reports, and manual testing.

    The entire point of the UX audit exercise is to improve user experience. So, why not just ask your users what they think?

    Asking for user feedback can get you accurate input from real visitors about your website. It can help you find specific problems and fix them more easily.

    This is where UserFeedback comes in.

    UserFeedback

    Note: There is also a free plugin called UserFeedback Lite that you can try. We recommend upgrading to the Pro version to unlock the full potential of the plugin.

    UserFeedback allows you to quickly run surveys and collect user feedback on your website. It also lets you show the surveys to the right users at the right time.

    For example, you can show surveys to users on the pages with fewer conversions or display a feedback form to users on mobile devices.

    UserFeedback form

    For more information, you can see our UserFeedback announcement post.

    Step 5: Optimize Your Website Speed & Performance

    Website speed is a major contributor to user experience. Slow sites cause poor UX and prevent users from moving forward and accessing your content.

    The tools we mentioned earlier, like PageSpeed Insights and Core Web Vitals, can help you evaluate the performance of your website.

    However, if you are using MonsterInsights, then you can also run a website speed test inside your WordPress admin area.

    Simply switch to the Insights » Reports page and then open the ‘Site Speed’ tab.

    Site Speed in MonsterInsights

    The report will run the same tests as PageSpeed Insights and show you a report. It will also give you practical tips to improve website performance.

    Fixing Performance and Speed Issues

    The easiest way to fix most performance issues is by simply installing a WordPress caching plugin.

    We recommend using WP Rocket, which is the best WordPress caching plugin on the market. It lets you easily optimize your WordPress website without learning the technical stuff.

    WPRocket

    First, you need to install and activate the WP Rocket plugin. For details, see our tutorial on how to install a WordPress plugin.

    Upon activation, WP Rocket will start caching your website’s content.

    Unlike other caching plugins that generate a cache when a user visits your website, WP Rocket automatically starts creating a cache in the background.

    This means each new user on your website will see a cached version that loads much quicker and improves user experience.

    You can learn more by reading our tutorial on setting up WP Rocket with more detailed instructions.

    If caching doesn’t immediately fix your website speed, we recommend following our complete WordPress speed and performance guide. It includes step-by-step instructions on how to optimize your website speed.

    Step 6: Evaluate Website Navigation

    Users expect your site to have a navigation menu with the links they need to find the information they want.

    Sometimes, a website may not have a navigation menu that helps users reach the page they want. This leads to a poor user experience, and visitors may leave and try some other website.

    You need to make sure that your website has a straightforward navigation menu that takes users to the critical areas of your website.

    Navigation menu example

    Adding a search bar to your website’s header or navigation menu can also improve user experience. If users can’t find a link quickly, then they can try searching on your website.

    However, the default WordPress search is not very good.

    Instead, we recommend using SearchWP. It is the best WordPress search plugin on the market and quickly improves the search experience on your website.

    SearchWP website

    SearchWP allows you to make everything on your website searchable, including custom fields, eCommerce attributes, custom tables, categories, tags, and more.

    First, you need to install and activate the SearchWP plugin. For more details, see our tutorial on how to install a WordPress plugin.

    Upon activation, you need to visit the SearchWP » Algorithm page and switch to the ‘Engines’ tab.

    From here, you can adjust the search engine settings for the different content types by scrolling to the Posts, Pages, and Media sections.

    SearchWP engines

    Here, you can choose which attributes are searchable on your website. You can also choose their relevance.

    Don’t forget to click on the ‘Save’ button to store your settings.

    SearchWP will now replace your default WordPress search feature with its own custom search engine.

    For more details, you can see our tutorial on how to improve WordPress search with SearchWP.

    Step 7: Test Conversion Elements

    A lot of the time, poor user experience is caused at the end of a conversion path.

    For instance, you might have users trying to submit your lead capture form, but something is stopping them from doing so.

    Luckily, you can run split tests and manually test elements on your website to identify and fix problems.

    Run A/B Split Tests to Figure Out UX Issues

    An easy way to test your conversion elements is by running A/B split tests.

    An A/B split test allows you to create two or more versions of a page with slight differences. It then shows users a different version randomly.

    You can then compare the results to find out which variation of the page performed the best among your users.

    The easiest way to run these tests on your WordPress website is by using Thrive Optimize. It lets you quickly create and run A/B tests on your WordPress website.

    First, you will need to install and activate Thrive Optimize plugin. You can purchase the plugin with Thrive Architect or get it with Thrive Suite bundle.

    Next, install and activate the Thrive Product Manager plugin on your website. You can download it from your Account Dashboard on the Thrive Themes website.

    Install Thrive Product Manager

    Upon activating the plugin, you need to go to the Product Manager page in the WordPress admin area.

    Next, you need to check the ‘Install Product’ box under the Thrive Optimize and Thrive Architect products.

    Thrive Optimize installation

    After that, click on the ‘Install Selected Products’ button to continue.

    After installing the plugins, you will need to create or edit a post/ page and then click on the ‘Launch Thrive Architect’ button at the top.

    Editing a page with Thrive Architect

    This will show a popup where you can choose how to edit the page.

    You can edit the page as a regular page using your theme template or as a landing page with a custom template.

    Normal vs Landing page

    If you choose a pre-built landing page, then you will be asked to choose a template.

    Thrive Architect comes with dozens of beautiful templates for various niches to choose from.

    choose a template

    After that, you will be able to edit your page in Thrive Architect’s page builder.

    It is an intuitive design tool where you can point and click on any element to edit it or click on the ‘+’ button to insert new elements.

    Editing page in Thrive Architect

    Once you have finished editing your page, don’t forget to click the ‘Save Work’ button to store your changes.

    After that, click on the ‘A/B’ button in the right column to create a new A/B test.

    Create a new A/B test

    To run your A/B test, you need to have at least two versions of a page.

    On the next screen, click on the Add New Variation button to create a new version of your landing page.

    Add variation

    It will now create a new variation, and you can start editing it using the Thrive Architect.

    Make the changes to the page you think will work better than the previous version.

    After that, simply click on the ‘Save Work’ button to store your changes, and then click on the ‘A/B’ button again.

    Run the test

    You can choose how much traffic you want to send to each page variation and then click on the ‘Set Up & Start A/B Test’ button at the top.

    This will bring up a popup where you can configure the A/B test settings.

    A/B test settings

    You need to give your test a title and description. Afterward, you can turn on Automatic Winner settings and set minimum requirements for a variation to win.

    Click on the ‘Next’ button to continue.

    Finally, you will be asked to choose a goal for the test. For example, if it is a product page, then you may want to choose ‘Revenue’.

    Set test goal

    Finally, click on the ‘Start A/B Test’ button to finish the setup.

    Thrive Optimize will now start showing the two variations of the page to your users and keep track of user interactions on the page.

    You can view the test results anytime by visiting the Thrive Dashboard » Thrive Optimize page.

    Thrive Optimize dashboard

    Once the test has run its duration, you can see which page has performed better for conversions or the goals you set during the test. You will then be able to make changes to improve the UX on your website.

    For more details, you can see our guide on how to run A/B tests on your WordPress website.

    Manually Test Conversion Elements

    A lot of time, you may not be able to run A/B split tests for all your pages. Luckily, there are other ways to test whether conversion elements on your pages are working.

    Website owners are often just looking at the static representation of their website and not interacting with it like a real user would. That’s why many interactive failures go unnoticed for a long time.

    This is when you will need to do some manual work. You can try to imitate a user journey as best as possible to complete a conversion.

    For instance, if you run an eCommerce store, you can start from the page where your users usually land. Afterward, look at product pages, add items to the cart, and complete the checkout.

    Within your UX audit, you must test all your forms, cart functionality, and checkout experience by interacting with those elements like a customer.

    Plus, don’t forget to test these elements on both mobile and desktop environments.

    Step 8: Test User Flows to Find Bottlenecks

    A user flow is a customer’s journey across your website. A user will usually take a predictable path to different areas of your website until they buy something or submit a form.

    The best way to track user flows is by using MonsterInsights. It comes with a User Journey addon that allows you to see every step of a customer’s journey throughout your site, including the pages and products they looked at and how long they were there.

    Simply install and activate the MonsterInsights plugin.

    Note: You will need at least the Pro plan of the plugin to use the User Journey addon.

    After setting up MonsterInsights, you need to go to the Insights » Addons page. From here, locate the User Journey addon and then install and activate it.

    User Journey addon MonsterInsights

    Next, you need to install and activate the eCommerce addon. This will help you track customer journeys on popular eCommerce platforms for WordPress like WooCommerce, Easy Digital Downloads, MemberPress, and more.

    Now, MonsterInsights will show the user’s journey on individual orders. For example, in WooCommmerce, you can go to WooCommerce » Orders page and click on an individual order.

    Click on an individual order

    On the order details page, scroll down to the MonsterInsights User Journey section.

    This will show you all the user interactions on your site with their times and durations.

    User journey preview

    For more details, you can see our guide on how to enable customer tracking in WooCommerce.

    If you are not using an eCommerce platform, then you can still track the user journey for your WordPress forms.

    If you are using WPForms to capture leads, then it comes with user journey tracking that helps you track which path a user took to submit the form.

    User Journey tracking

    Like conversion elements, other areas of your website could disrupt user flow and block the path that leads them to become a customer.

    You will need to manually evaluate user paths in Google Analytics to see where their journey abruptly ends. You can also simulate the user paths to see if you can come across a usability issue preventing the user from going forward.

    Step 9: Evaluate Website Content Quality

    Visual elements are not the only things that create a good or bad user experience.

    Your website content plays a significant role in convincing users to stay on your WordPress blog or website and look around. It also helps search engines find your content more easily and send more visitors to your site.

    We recommend performing a complete SEO audit of your website and optimizing your content for SEO.

    To do that, you will need All in One SEO for WordPress. It is the best WordPress SEO plugin on the market that allows you to easily improve your content for search rankings and user experience.

    All in One SEO plugin

    All in One SEO comes with built-in SEO analysis, a headline analyzer, and site-wide SEO audit tools. All these features help you improve the quality and discoverability of your content.

    You will also need to evaluate your content. For example, if a particular page is not ranking or converting well, then consider making it more comprehensive by adding more helpful content.

    For more details, you can see our guide on how to fix content decay in WordPress.

    Don’t forget to check your content for spelling and grammar mistakes. They could make your website seem unprofessional and create a bad user experience.

    We recommend using Grammarly. It is the best AI-powered writing tool that helps you automatically correct spelling and grammar mistakes.

    Grammarly

    Grammarly also has a free forever plan with spelling and grammar checks. However, we recommend buying a paid plan to unlock more powerful features.

    We hope this article helped you learn how to do a UX audit of your WordPress website. You may also want to see our guide on how to do an SEO audit of your site or our expert picks for the best email marketing services to grow your website.

    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.

    The post How to Do a UX Audit of Your WordPress Site first appeared on WPBeginner.

  • How to Sell Car Parts Online With WordPress (Step by Step)

    Are you looking for a way to sell car parts online on your WordPress website?

    If you have an automotive business, then a website is a great way to reach new customers. It can also improve the customer experience by allowing car owners to look through your entire catalog and order auto parts online.

    In this article, we will show you how to sell car parts online with WordPress.

    How to sell car parts online with WordPress

    Which Is the Best Website Builder to Sell Car Parts Online?

    There are many website builders that you can use to sell car parts online, but we recommend using WordPress.

    According to our blogging research statistics, WordPress is the most popular website platform in the world. It powers nearly 43% of all websites, including many of the top eCommerce websites.

    WordPress is also open-source and free, so you will have bigger profit margins. For more on this topic, see our article on why WordPress is free.

    However, just be aware there are two types of WordPress software. First, there is WordPress.com, which is a blog hosting platform. Then, there is WordPress.org, which is also known as self-hosted WordPress.

    For a detailed comparison, please see our guide on the difference between WordPress.com and WordPress.org.

    For an eCommerce site, we recommend using WordPress.org because it gives you complete ownership of your website and online store. You can also install third-party plugins, including the popular WooCommerce eCommerce plugin.

    According to our WordPress market share report, WooCommerce is used by 8.8% of all websites, which makes it more popular than Shopify for online stores and eCommerce sites.

    To learn more about why we recommend WordPress to all our readers, please see our complete WordPress review.

    We will now show you how to sell car parts online with WordPress. You can use the quick links below to jump to the different parts of the article:

    Step 1: Set Up Your Auto Parts Website

    To start selling car parts online, you will need a domain name and web hosting.

    A domain name is your store’s address on the internet. This is what customers will type into their browsers to reach your website, such as www.carparts.com or www.buyautoparts.com.

    Web hosting is where your site lives online. To help you find the right hosting for your business, we have created a complete list of the best WordPress hosting that you can buy.

    Although the WordPress software is free, hosting and domain names are where the costs can really start to add up.

    A domain name typically costs $14.99/year, and hosting costs start from $7.99/month. This can make it difficult if you are a new business or have a limited budget.

    Thankfully, Bluehost is offering our readers 60% off web hosting, plus a free domain name. Bluehost is one of the largest hosting companies in the world and an official WordPress-recommended hosting partner.

    They are also offering our users a free SSL certificate. If you want to sell car parts online, then an SSL certificate is essential for keeping customer credit and debit card information safe.

    You can click the button below to get started for as little as $2.75 per month.

    Once on the Bluehost website, click the green ‘Get Started Now’ button.

    The Bluehost web hosting website

    This will bring you to the Bluehost pricing page, where you can choose a hosting plan for your auto part business.

    We recommend choosing a Basic or Plus plan, as they are the most popular web hosting plans among our readers.

    Bluehost's pricing plans

    After selecting a plan, click on ‘Continue.’

    On the next screen, you will need to choose a domain name.

    Choosing a domain name for an automotive store

    Ideally, your domain name will be easy to pronounce, spell, remember, and relate to your business. The name of your auto parts business is a great place to start, but sometimes that domain may already be taken by another business website.

    In that case, you can try extending the domain name by adding your location, what makes your auto parts business unique, or some extra keywords. If you need some inspiration, then check out our guide on how to choose the best domain name.

    After choosing a name, click on the ‘Next’ button to continue.

    Now you will need to provide your account information, such as your name and business email address. After that, you will also see optional extras that you can buy.

    We generally don’t recommend buying these extras straight away, as you can always add them later if your business needs them.

    Bluehost package extras

    After that, type in your payment information to complete the purchase.

    After a few moments, you will get an email with instructions on how to log in to your web hosting control panel. This is your hosting account dashboard, where you can manage your car parts website, including setting up email notifications and asking for WordPress support.

    It’s also where you will install the WordPress software, so let’s do that now.

    Step 2: Create a New WordPress Website

    If you sign up with Bluehost using our link, then Bluehost installs WordPress on your domain name automatically.

    If you want to create a different WordPress website, then go ahead and click on the ‘My Sites’ tab in the Bluehost dashboard.

    After that, you need to click on the ‘Add Site’ button and select ‘Create New Site.’

    Creating a new WordPress website with Bluehost

    The Bluehost wizard will now walk you through the setup process.

    First, you will need to type in a site title and an optional tagline.

    Adding a site title and tagline to WordPress

    When you are ready, just click on the ‘Next’ button to continue.

    After that, Bluehost will ask you to choose a domain name and path for your car parts website. If you already own a domain name, then go ahead and select it from the dropdown menu.

    Selecting a domain name for an automotive parts website

    If you don’t have a domain name, then you can buy one by visiting the ‘Domains’ page inside the Bluehost dashboard.

    After choosing a domain name, you can leave the directory path blank and let Bluehost fill it in for you.

    The installer will also show a few plugins that you may want to install on your car parts website, including WPForms. Many of these are must-have WordPress plugins that can help you grow your business and get more sales, so we recommend installing them.

    When you are ready, click on the ‘Next’ button, and the installer will set up your car parts website. Once it’s finished, you will see a ‘WordPress installed successfully’ message with information about your new website.

    You can now go ahead and click on the ‘Log into WordPress’ button, which takes you to your site’s admin dashboard.

    How to create a car parts website with WordPress

    You can also log in to the WordPress dashboard by going to yoursite.com/wp-admin/ in your web browser.

    If you are using a different WordPress website host, such as SiteGroundHostingerHostGator, or WP Engine, then you can see our complete guide on how to install WordPress for all the top hosting providers.

    Now that you have successfully set up WordPress, you are ready to start building your automotive parts website.

    Step 3: Choose a WordPress Theme

    WordPress themes are professionally-designed templates that change how your automotive website looks and acts.

    By default, each WordPress site comes with a basic theme. If you visit your website now, then you will see something like the following image.

    An example of a default WordPress theme

    If you want to make a great first impression with customers and get more sales, then it’s a good idea to replace the default WordPress theme.

    There are lots of different premium and free WordPress business themes to choose from. You can generally categorize these as niche industry themes or multipurpose WordPress themes.

    Your typical automotive website needs special features, like the ability to show listings, support for popular eCommerce plugins, and a VIN decoder tool.

    With that in mind, it makes sense to look for a theme that’s designed for the car industry. To help you out, we have collected the best WordPress themes for car dealerships and the best themes for auto repair.

    You can also use a website and landing page builder plugin like SeedProd.

    The SeedProd page builder plugin

    SeedProd is the best drag and drop WordPress page builder and comes with built-in templates that you can use to create a professionally-designed car parts website.

    It even has a template that’s designed specifically for the car industry.

    How to sell car parts online with SeedProd

    Once you have chosen a theme, check out our step-by-step guide on how to install a WordPress theme. After installing your theme, you can customize it by going to Appearance » Customize in the WordPress dashboard.

    This will open the theme customizer, where you can fine-tune the theme settings and see your changes instantly, thanks to the live preview.

    The WordPress theme customizer

    If you are using one of the newer full site editing themes, then you can customize your theme by going to Appearance Â» Editor. This launches the full site editor, which uses blocks similar to the content editor.

    Pro Tip: No matter which theme you are using, you can’t edit it by default using advanced drag and drop. For that reason, we recommend using a page builder like SeedProd instead.

    Step 4: Create a Custom Home Page

    WordPress has two default content types called posts and pages.

    You will typically use posts to create articles and blogs. By default, the home page will show these posts in reverse chronological order, so the newest content appears at the top of the home page.

    An example of a car parts blog

    Blogging can help you build a stronger relationship with your customers, improve your WordPress SEO, and get more traffic to your automotive website.

    For example, you might share tips on how to diagnose common car problems or blog about the latest industry trends.

    However, even if you plan to blog, you typically don’t want to show those posts on your automotive website’s home page. Instead, we recommend creating a custom home page that introduces your car parts business to potential new customers.

    For step-by-step instructions on how to create an attention-grabbing auto parts home page, please see our guide on how to create a custom home page in WordPress.

    Once you are happy with how the page looks, it’s time to set it as your home page. To do this, head over to Settings » Reading in the WordPress dashboard.

    The WordPress reading settings

    On this screen, you need to scroll to ‘Your homepage settings’ and select ‘A static page.’

    With that done, just open the ‘Homepage’ dropdown and choose the page you want to use.

    The WordPress homepage settings

    After that, scroll to the bottom of the screen and click on ‘Save Changes.’ Now, if you visit your auto parts website, then you will see the new home page in action.

    If you are going to write blogs, then you should also make sure to create a separate blog page to show your posts.

    Step 5: Set Up an eCommerce Plugin

    WordPress doesn’t have eCommerce features by default, so you will need a plugin to sell car parts online. The easiest way to sell physical products is by using WooCommerce.

    WooCommerce is the most popular eCommerce plugin in the world and has everything you need to sell car parts online.

    First, you will need to install and activate the WooCommerce plugin. If you need help, then please see our guide on how to install a WordPress plugin.

    Upon activation, you will see the WooCommerce setup wizard. The first thing you will need to do is type in your store’s location.

    The WooCommerce setup wizard

    After that, click on the ‘Continue’ button.

    On the next screen, you can select your industry. Since you are going to sell car parts online, you will typically want to check the box next to ‘Other.’

    After that, type your industry into the ‘Description’ field.

    How to sell car parts online with WooCommerce

    With that done, click on ‘Continue.’

    You can use WooCommerce to sell all kinds of products, including digital downloads, bookings, and WooCommerce subscriptions.

    However, since you are selling automotive parts, make sure to check the ‘Physical products’ box.

    The WooCommerce setup wizard

    When you are happy with the information you have entered, click on ‘Continue.’

    With that done, you can choose how many products you plan to sell and whether you are currently selling anywhere else.

    How to create an online store with WooCommerce

    After entering this information, just click on the ‘Continue’ button.

    The setup wizard will now recommend some business features that you can add to your online store. These features are free, so we recommend selecting the following checkbox ‘Add recommended business features to my site.’

    Adding recommended features to an online store

    When you are happy with the information you have entered, simply click on ‘Continue’ to set up your online store.

    Step 6: Set Up Shipping for Your Car Parts

    Next, you can add shipping options by going to WooCommerce » Settings.

    The WooCommerce settings screen

    Here, you need to click on the ‘Shipping’ tab.

    With that done, select ‘Add shipping zone.’

    How to add shipping to an online store

    On the next screen, type in a name for the zone and select one or more regions from the dropdown menu.

    Once you have done that, simply click on the ‘Add shipping method’ button.

    How to set up WooCommerce shipping

    Now, you will see different shipping methods in the dropdown menu. You can choose between a flat rate, free shipping, or even offer local pickup.

    Select your preferred shipping method and click ‘Add shipping method.’

    Adding shipping methods to an online automotive store

    WooCommerce will now add your chosen shipping method to the shipping zone.

    To configure the shipping method, simply hover over it and then click the ‘Edit’ button.

    Editing shipping methods to a WooCommerce automotive store

    You will see a popup with more settings you can use. 

    The settings will vary depending on the shipping method you choose. For example, if you select ‘Flat rate’, then you can change the method title, add a tax status, and enter the total shipping cost.

    How to set up flat rate shipping in WooCommerce

    After entering this information, go ahead and click on ‘Save changes.’

    You can create as many shipping zones as you want by repeating these steps.

    Step 7: Set Up Payments for Your Car Parts Business

    Next, you need to add payment options so that customers can buy your car parts online. To get started, head over to WooCommerce » Settings and select the ‘Payments’ tab.

    Adding payment methods to an auto parts website

    This opens a screen with all the different payment methods and WooCommerce payment gateways that you can use.

    Simply find the method you want to enable and click on its ‘Finish set up’ button.

    How to sell car parts online in WordPress

    You can now set up this payment method by following the onscreen instructions.

    When you are finished, don’t forget to click on the ‘Save changes’ button.

    How to accept credit card payments in WordPress

    To make the payment method live on your site, click on the ‘Payments’ tab.

    Then, simply click on the method’s toggle so it turns from grey (disabled) to purple (enabled).

    Enabling WooCommerce payments

    To get more sales in your online store, you may want to offer multiple payment methods. For example, you might accept credit card payments on your WordPress site, plus cash on delivery.

    To add more payment methods, simply follow the same process described above.

    Step 8: Create Product Attributes and Attribute Terms

    By default, WooCommerce creates each product as a ‘Simple Product.’ However, you will probably want to offer the same car part for multiple models or brands.

    The easiest way to do this is by creating a variable product. This allows customers to visit a single product listing and then choose the right product variation for their car, as you can see in the following image.

    How to sell car parts online with WordPress

    To create variable products, you will first need to set up attributes and attribute terms.

    For example, if you are selling tires, then you might make a ‘Season’ attribute and then add ‘Winter’ and ‘Summer’ as the attribute terms.

    This will allow customers to choose between winter tires and summer tires.

    An example of a car part, created using WordPress and WooCommerce

    You might also create a ‘Model’ attribute and then add each car model as an attribute term.

    By adding attributes and attribute terms to your online store in advance, you will find it easier to create variable products later.

    With that being said, head over to Products » Attributes. You can now type a title for the attribute into the ‘Title’ field. This will appear on your product pages, so make sure you use something descriptive.

    Adding product attributes to an online store

    For more on this topic, see our guide on how to add product attributes to WooCommerce.

    When you are happy with the information you have entered, click on ‘Add attribute.’

    Adding car parts as a variable product

    This attribute will now appear towards the right of the screen.

    Next, go ahead and click on the ‘Configure terms’ link.

    Configuring terms for a variable product

    This brings up a screen similar to the main attribute screen, where you can start adding attribute terms.

    To start, type the term’s title into the ‘Name’ field.

    Adding terms to an eCommerce store

    When you are happy with the information you have typed in, just click on the ‘Add new…’ button.

    Simply repeat the above steps to create more attribute terms. You can also create as many product attributes as you want and then add unique terms to those attributes.

    Examples of product attributes, created using a WordPress eCommerce plugin

    Step 9: Add Your Car Part Products

    After creating some product attributes and terms, you are ready to start adding car parts to your online store. You can add each product manually or import WooCommerce products from a template, CSV file, or another service.

    In this guide, we will show you how to add car parts to your store manually, so start by going to Products » Add New.

    On this screen, start by typing in the product name. This will appear at the top of the product page, so visitors will be able to see it.

    Adding a car part to an online store

    After that, type in a description and add a product image.

    If you want to show multiple images, then you can click on ‘Add product gallery images.’ You can even add interactive 360-degree images in WordPress.

    Adding car part product images

    After that, it’s a good idea to add categories and tags to the product. These will help customers find the right products on your car parts site, like categories and tags for WordPress pages.

    Simply click on the ‘Add new category’ link and then create a new category for the car part you are adding.

    Adding car part product categories to an online store

    After that, you can type each tag into the ‘Product tags’ box and click on ‘Add.’

    To add multiple product categories and tags, simply repeat the same steps described above.

    Adding product tags to a car part product

    After that, scroll to the ‘Product Data’ box.

    To create a variable product, simply click on the dropdown that shows ‘Simple product’ by default. Then, select ‘Variable product.’

    Adding variable products to an automotive website

    You can now select the product type, add pricing, shipping costs, grouped products, and other information.

    After entering all this information, you are ready to create variations by selecting the ‘Attributes’ tab. Here, open the ‘Add existing’ dropdown menu.

    Adding existing attributes to a variable product

    You can now go ahead and select the product attribute you want to use.

    In the ‘Value(s)’ field, type in each term you want to use. When the right term appears, click to add it to the product.

    Adding values to a product variable

    With that done, click on the ‘Save attributes’ button.

    To add more product attributes and terms, simply repeat the above steps.

    WooCommerce's product data settings

    With that done, click on the ‘Variations’ tab.

    On this screen, go ahead and click on ‘Generate variations.’

    Generating variations for a car part website

    WooCommerce will now create variations using all the attributes you added to the product.

    To set up each variation, click on its ‘Edit’ link.

    Editing a variable car part product

    You can now add the variation’s price, upload an image, set the shipping options, and more using the settings in this section.

    Simply repeat this process to configure each product variation.

    Configuring a vehicle part product

    There are lots more settings you can use to fine-tune the variable product. However, this is all you need to add a car part to your online store.

    When you are ready to make the product live, go ahead and click on the ‘Publish’ button.

    Publishing a car part product to a WordPress website

    If you visit your online store, you will see the variable product live.

    To add more car parts to your online store, simply repeat these steps.

    Step 10: Add a Contact Us Form

    Customers might sometimes need to talk to you directly. For example, they may want to find out when a particular part will be back in stock or get some advice on a mechanical problem.

    While visitors could call your business phone number, it’s still a good idea to add a contact form to your website.

    An example of a contact form, on a car parts website

    Most of the best contact form plugins come with built-in spam protection, so you won’t get any contact form spam. A form will also collect consistent information, so you will have all the data you need to write a helpful reply.

    The easiest way to create a contact form is by using the free WPForms plugin. This plugin has a built-in Simply Contact Form template that you can quickly customize using the drag and drop editor.

    A contact form, created using WPForms

    After that, just add the form to any page, post, or widget-ready area using the ready-made WPForms block.

    For detailed instructions, see our guide on how to create a contact form in WordPress.

    Step 11: Add a Navigation Menu

    After adding some content to your car parts website, you will want to help visitors find their way around those pages and posts by adding a navigation menu.

    An example of a WordPress navigation menu

    No matter which theme you are using, it’s easy to add menus and sub-menus to your automotive website.

    For a complete guide, please see our post on how to add a navigation menu.

    Adding a menu to your car parts website

    WooCommerce has a built-in search feature, but it’s not very good at finding products. It doesn’t look for matches in product attributes, reviews, custom fields, or product descriptions.

    By replacing the default search with a smarter and faster search, you can help customers find the exact car parts they need. This will improve the customer experience and help you get more sales.

    The easiest way to create a smart WooCommerce product search is by using SearchWP. SearchWP is the best WordPress search plugin on the market and puts you in complete control of the WordPress search algorithm.

    The SearchWP search plugin for WordPress

    By default, SearchWP will look at the product title, content (description), slug, and excerpt (short description) for matches. 

    Plus, you can customize the SearchWP settings to look for matches in custom fields, taxonomies, customer reviews, product tags, and more.

    A smart WooCommerce product search, created using SearchWP

    For more information, please check out our guide on how to make a smart WooCommerce product search.

    Step 12: Display Customer Reviews

    Reviews are some of the best ways to earn customer trust and convince visitors to buy car parts from your website. After all, we are more likely to buy things that we see other people buying, using, or recommending.

    If you already have reviews on platforms like Facebook, Yelp, and Google, then it’s easy to display them on your WordPress site using Smash Balloon Reviews Feed Pro.

    Car part reviews, displayed using Smash Balloon

    Reviews Feed Pro is one of the best customer review plugins for WordPress that you can use.

    It will collect reviews automatically and then organize them into a nice layout on your automotive website. You can also completely customize the review feed so that it perfectly fits with your site.

    The Reviews Pro WordPress plugin, by Smash Balloon

    For more details, please see our guide on how to show Google, Facebook, and Yelp reviews.

    We hope this tutorial helped you learn how to sell car parts online with WordPress. You may also want to learn how to create a WooCommerce popup to increase sales or check out our list of the best WooCommerce plugins for your store.

    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.

    The post How to Sell Car Parts Online With WordPress (Step by Step) first appeared on WPBeginner.

  • How to Fix WooCommerce Product Search Not Working

    Is the WooCommerce product search not working in your online store?

    If your WooCommerce search isn’t working correctly, users won’t be able to find the products they are looking for. This can result in a poor user experience, abandoned carts, and fewer sales.

    In this article, we will show you what to do when the WooCommerce product search is not working. We will also explain how to improve the search feature.

    Fixing the WooCommerce product search not working issue

    The Importance of WooCommerce Product Search

    Without a functional search tool, users won’t be able to browse through your product catalog and make purchases in your WooCommerce store.

    WooCommerce search not working

    This can result in frustrated customers leaving your site, which will skyrocket bounce rates and decrease profits.

    In turn, it can also damage your store’s reputation. If many people struggle to use your online store, then they may go to your competitors instead.

    The error may also cause your website SEO to suffer because search engines use the search functionality to rank websites.

    If your site has lower rankings in the search results, then fewer customers will be able to find and purchase your products online.

    By fixing the WooCommerce search feature, you can improve the customer experience, making it easier for shoppers to find what they are looking for and make more sales.

    That being said, you can follow the steps in our troubleshooting guide and learn what to do when the WooCommerce product search is not working.

    Step 1: Check With Your Hosting Provider

    The most common reason the search feature isn’t working is because of your WordPress hosting.

    The server hosting your site may not have enough resources to handle a large number of WooCommerce products at once.

    This server may also have some software restrictions that limit the amount of available memory and prevent the search feature from working correctly.

    If this is the case, then you can try contacting your hosting provider’s customer support, as this problem cannot be solved from your end. They can help you figure out if the WooCommerce search isn’t working due to the server and help you fix the issue.

    However, if the issue is not with your hosting, then you will need to move on to the next step.

    Step 2: Deactivate Plugins

    The WooCommerce product search may not be working because of an outdated or new plugin on your WordPress website that is causing some errors.

    This can happen if a plugin has bugs in its software or isn’t compatible with other plugins on your website.

    You can easily fix this issue by deactivating every plugin apart from WooCoomerce on your site.

    First, you will need to go to the Plugins » Installed Plugins page from the WordPress admin sidebar. Once you are there, just select all the activated plugins except WooCommerce from the list.

    Next, simply choose the ‘Deactivate’ option from the ‘Bulk actions’ dropdown menu and click on the ‘Apply’ button to deactivate all the plugins on your site.

    Deactivate all the plugin except WooCommerce

    Now, you can visit your website to check if this has fixed the issue.

    If it has, then simply activate the plugins one by one until you can find the one causing the error. You will then need to look for an alternative plugin or contact the developers for support.

    If deactivating plugins didn’t fix the issue, then keep reading to solve the problem.

    Step 3: Update the WooCommerce Database

    A corrupted database can be another reason that the WooCommerce search is not working.

    For instance, you may have imported a large number of products as a CSV file, which is causing a problem with the database.

    To fix this issue, you will need to update the WooCommerce database. Make sure to create a complete backup of your website before updating its database.

    First, head over to the WooCommerce » Status page from the WordPress sidebar.

    Once you are there, simply switch to the ‘Tools’ tab and click the ‘Regenerate’ button next to the ‘Product lookup tables’ option.

    Click Regenerate next to the Product Lookup Table option

    After that, scroll down to the ‘Update database’ option and just click the button next to it.

    This will update the WooCommerce plugin’s database to the latest version.

    Update the WooCommerce database

    Next, simply visit your online store to check if the issue has been resolved.

    Step 4: Check Catalog Visibility Settings

    Another reason for this problem can be that you have set the catalog visibility of your products to ‘Shop only’ or ‘Hidden’.

    With these settings, the products won’t show up in the search results in your online store.

    To check this, you need to visit the Products » All Products page from the WordPress admin sidebar and click on the ‘Edit’ link under a product name.

    Click the Edit link under the product name

    Once you are on the product page, simply click the ‘Edit’ link under the ‘Catalog visibility’ option in the ‘Publish’ section on the right.

    This will open up a list of visibility choices.

    From here, you need to make sure that the catalog visibility is set to ‘Shop and search results’.

    Choose the Shop and Search Results option from the Catalog Visibility section

    After that, click the ‘OK’ button to save your changes. Then, simply click the ‘Update’ button.

    Now visit your website to check if the WooCommerce search is working. If it isn’t, then you will need to keep reading our tutorial.

    Step 5: Reindex WooCommerce Products

    You may not have indexed your Woocomerce products properly, making the search feature inaccessible.

    To reindex the products, head to the Products » All Products page from the WordPress admin sidebar. From here, check the box at the top of the list to select all the products.

    After that, select the ‘Edit’ option from the ‘Bulk actions’ dropdown menu and click the ‘Apply’ button.

    Edit all the WooCommerce products

    This will open up the ‘Bulk Edit’ tab on the page.

    From here, simply click the ‘Update’ button to reindex all the WooCommerce products.

    Click the Update button to reindex products

    Once you have done that, you need to visit your website to test the search results.

    Improve WooCommerce Product Search With SearchWP

    If you have tried all the steps above and they haven’t fixed the product search problem, then it’s time for you to switch to a search plugin.

    This is where SearchWP comes in.

    It is the best WordPress search plugin on the market that can help you improve WooCommerce product search by automatically replacing the default WordPress search with a more powerful search feature.

    It puts you in complete control of the WordPress search algorithm and builds an index that matches search keywords in content, titles, categories, tags, shortcodes, documents, products, and more.

    SearchWP

    First, you will need to install and activate the SearchWP plugin. For more detailed instructions, see our guide on how to install a WordPress plugin.

    Upon activation, head over to the SearchWP » Settings page from the admin sidebar and switch to the ‘General’ menu option.

    Here, you have to copy and paste the license key into the ‘License Key’ field. You can get your key from the ‘SearchWP Accounts’ page on the SearchWP website.

    After that, simply click the ‘Activate’ button.

    Enter your SearchWP license key

    Next, you have to visit the SearchWP » Extensions page from the admin sidebar.

    From here, click the ‘Install’ button under the ‘WooCommerce Integration’ extension. Upon installation, the extension will be activated automatically.

    Install WooCommerce integration extension

    Next, head over to the SearchWP » Algorithm page from the WordPress admin sidebar and click the ‘Source and Settings’ button.

    This will open a popup where you need to check the ‘Products’ option to add WooCommerce products as a search source.

    After that, click the ‘Done’ button to continue.

    Add Products as search source

    Now, if you scroll down, you will see a new ‘Products’ section added to the list of search sources.

    By default, SearchWP will look at the product title, content (description), slug, and excerpt (short description) for search matches. You can add relevance (importance) to these search attributes by moving the sliders next to them.

    For more detailed instructions, you may want to see our tutorial on how to make a smart WooCommerce product search.

    Depending on how your site is set up, you may also be able to search for other content by clicking on the ‘Add/Remove Attributes’ button.

    Add weight to search attributes

    This will open up a popup from where you can add custom fields and taxonomies to the attributes as well.

    Improve WooCommerce Product Search With Categories, Tags, SKUs, and Other Attributes

    To make your WooCommerce product search more accurate, we recommend adding categories, tags, and SKUs as search sources using SearchWP.

    Once the ‘Add/Remove Attributes’ popup appears, simply start by typing ‘SKU’ into the ‘Custom Fields’ box. For more information, we recommend reading our guide on how to enable search by product SKU in WooCommerce.

    After that, select the ‘Product categories’, ‘Product tags’, and other product attributes from the ‘Taxonomies’ dropdown menu.

    Add SKU, tag, categories, and attributes as custom fields and taxonomies

    Once you have done that, click the ‘Done’ button to save the changes.

    Now that tags, SKUs, and categories have been added as search sources, move the slider next to these options to assign weight to these attributes.

    Assign weight to the added fields

    Note: If you don’t know how to create tags, categories, and attributes for your products, please see our tutorial on how to add product tags, attributes, and categories to WooCommerce.

    After you have finished configuring settings for SearchWP, simply click the ‘Save’ button at the top.

    Now the default search box on your WooCommerce store will be automatically replaced by SearchWP.

    Click Save to store your changes

    Finally, you can visit your website to check out the new and improved WooCommerce product search box.

    Improved WooCommerce product search

    We hope this article helped you learn what to do when the WooCommerce product search is not working. You may also want to see our article on how to fix WordPress search not working and check out our expert picks for the best WooCommerce plugins to grow your online store.

    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.

    The post How to Fix WooCommerce Product Search Not Working first appeared on WPBeginner.

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

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

    Search is how most users find relevant and interesting content on your site. If they can’t easily find what they’re looking for, then they may move on to a different website.

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

    How to create a custom WordPress search form (step by step)

    Why Create a Custom Search Form for WordPress?

    WordPress comes with a built-in search feature. However, it doesn’t search all types of content such as comments, product reviews, or custom post types.

    This may stop the visitor from finding what they’re looking for, including products they may want to buy on your online store.

    You may also want 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 latest posts at the top of the search results page, or display your most popular WooCommerce products.

    With that in mind, let’s see how you can customize the WordPress search form. We cover a lot of ground in this post, so simply use the quick links below to jump straight to the section you want to read.

    How to Customize the WordPress Search Alogrithm

    The easiest way to improve the built-in WordPress search algorithm is by using SearchWP.

    SearchWP is the best WordPress search plugin. It’s easy to use and gives you complete control over your site’s search algorithm, so you can help visitors find what they’re looking for, fast. It also searches content that WordPress ignores by default.

    The first thing you need to do is install and activate the plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

    Upon activation, go to SearchWP » Settings and then click on the ‘General’ tab.

    How to activate the SearchWP search plugin

    Here, you need to enter your license in the ‘License Key’ box. You can find this information in your account on the SearchWP site.

    Once you’re done, click the ‘Verify Key’ button.

    Customizing the Search Engine

    After activating the plugin, you can fine-tune how SearchWP indexes, searches, and displays your content. You can think of this as creating a custom Google search algorithm that’s just for your WordPress blog or website.

    To start, head over to SearchWP Â» Algorithm.

    Creating a custom search algorithm for your WordPress website

    Here, you’ll see a section for the different content types that SearchWP searches by default, including pages, posts, and media files.

    To include more content types in the search results, click on the ‘Sources & Settings’ button.

    How to search additional content types using SearchWP

    You’ll now see a popup with all the different content types SearchWP can search. For example, you can make blog comments searchable in WordPress.

    Depending on the WordPress plugins you’ve installed, you may see some extra options. For example, if you’re using WooCommerce then you can include ‘Products’ in the SearchWP search results.

    For more on this topic, see our guide on how to make a smart WooCommerce product search.

    Simply go ahead and check the box next to each content type you want to include in the search results.

    Adding additional content types to WordPress search

    You’ll also notice that ‘Keyword Stems’ is selected by default. This means SearchWP may include results that don’t have the same ending as the search term.

    For example, if you search for ‘run’ then keyword stemming will include ‘running,’ and ‘runners’ in the results.

    This can help show relevant results to visitors, so we recommend leaving the ‘Keyword Stems box checked. However, you can uncheck it if you want to show exact matches only.

    SearchWP's keyword stems feature

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

    You’ll now see a section for all the sources you selected.

    Searching products and comments on a WordPress store

    Each section has its own ‘Applicable Attribute Relevance’ sliders.

    This is the weight that SearchWP will give to each attribute when creating the search results.

    Creating a custom search algorithm using SearchWP

    Content that matches an attribute with high relevancy will appear higher in the search results. By contrast, content that matches an attribute that has less relevancy will appear lower in the user’s search results.

    To give an attribute greater weight, simply move its slider to the right. 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.

    Customizing the applicable attributes relevance slider

    Every WordPress website is unique, so you may want to try different relevancy settings to see what gives you the most accurate and helpful search results.

    For example, if you’ve uploaded your menu as a PDF on your restaurant website, then this is important content and you’ll typically want to show it high in the search results.

    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 marketplace then you may want to exclude the account page, checkout page, and thank you page.

    Simply click the ‘Edit Rules’ button in the section where you want to create the rule. For example, in the following image, we’re adding a new rule to the ‘Posts’ section.

    Adding rules to your search engine

    This opens a popup where you can edit the search engine rules.

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

    Editing the rules for your website's search

    You can now choose the content you want to include or exclude from relevant search results.

    To start, open the first dropdown menu and choose either ‘Only show entries if’ or ‘Exclude entries if’ depending on the kind of rule you want to create.

    Adding a custom rule to your search form

    You can now use the rest of the settings to specify the content you want to exclude or include. For example, if you wanted to include or exclude a specific category then you’d type in the category name.

    You can also type in any custom taxonomies you want to exclude or include.

    Excluding categories form the WordPress search results

    To exclude or include specific post tags from the search results, simply open the dropdown menu and select ‘Tags.’

    Then, type in the tag’s name.

    Excluding tags from the WordPress search results

    To add another rule, just click the ‘Add Rule’ button and repeat the same process described above. When you’re happy with how the rules are set up, click ‘Done.’

    You can now create rules for other content types such as media and pages, by scrolling to their sections and clicking on their ‘Add Rule’ buttons.

    When you’re happy with how the search algorithm is set up, scroll to the top of the page and click on ‘Save.’

    Saving a custom search algorithm on your WordPress website

    SearchWP will now rebuild the index. Depending on the speed of your Internet connection and your WordPress hosting provider, this may take a few minutes.

    As soon as you see ‘Index Status 100%,’ you’ll know that SearchWP has added all your content and rules to the search index.

    Rebuilding the WordPress search index

    Create Custom Search Forms For Your WordPress Website

    By default, all the search forms on your WordPress website will use the new SearchWP algorithm you created in the previous section. This means that visitors will start seeing more accurate and relevant results straight away.

    However, for even better results you may want to create advanced search forms for different kinds of content. For example, you might create a smart WooCommerce product search form that looks at particular product categories only.

    You can also create an advanced search form for custom post types. For example, we’ve created a custom post type search form for our Deals and Glossary pages.

    An example of a custom search form on a WordPress website

    Each form will override the default WordPress search algorithm, so you can create as many different forms as you want with unique settings.

    How to Create a Custom Search Form

    To get started, head over to SearchWP Â» Search Forms and click the ‘Add New’ button.

    Adding a custom search form to your WordPress website

    This creates a new search form, ready for you to customize. For example, if you run a review website, then you might create a form that searches for product review posts and ignores other content like your blog posts and media. This can help visitors find what they’re looking for, faster.

    Now, give the form a unique name by clicking on the small pencil icon next to ‘Search Form 1’.

    How to create an advanced search form using SearchWP

    You now type in a name for the custom search form.

    This is just for your reference so you can use anything that helps you identify the form in the WordPress dashboard.

    Adding a title to a custom search form

    After that, you can choose a layout using the ‘Layout Theme’ thumbnails.

    Some of these layouts are designed for specific search forms. For example, if you are creating a form that searches by category in WordPress, then ‘Category Search’ already has many of the settings you need.

    Choosing a theme for your WordPress search form

    Simply click on the different themes to see a preview of how this form will look on your website. After making your decision, scroll to the ‘Custom Styling’ section.

    The settings you see may vary depending on your theme layout. For example, if you selected ‘Quick Search’, then the ‘Quick Search’ setting will be enabled by default.

    Choosing a search form theme

    You can disable and enable the different options using their toggles. The preview will update automatically as you make changes, so you can see what works best for your website.

    Depending on your layout and the kind of form you want to create, you may need to enable and disable some of the ‘Custom Styling’ settings. For example, if you want to create a form that searches by category, then click to enable the ‘Category Search’ toggle.

    After that, find the ‘Select Category’ field and type in each category that you want to include in the search results. For example, if you run an online store, then you may want to create forms that search specific product categories.

    Customizing the WordPress search form

    If you want to allow visitors to filter their search results using factors like the author, post type, and tag, then you will need to click to enable the ‘Advanced Search’ toggle.

    After that, scroll to the ‘Advanced Search Filter/s’ field. By default, SearchWP allows visitors to filter their results using Authors, Post Types, and Tags.

    Changing the WordPress search filters

    To remove any of these filters, just click on its ‘X’ button. If you want to add more filters, then simply type their names into the field.

    Then, when the right option appears in the dropdown, give it a click.

    Searching WordPress tags using SearchWP

    By default, SearchWP will search all the media, pages, and posts on your WordPress website. If you’ve created any custom post types, then you can include them in the search results using the ‘Type of search’ field.

    Simply go ahead and type in each custom post type that you want to include. When the right custom post type appears, click to add it to the search.

    How to search custom post types in WordPress

    Do you want to exclude media, pages, or posts from the search results?

    Then just click the small ‘X’ next to ‘Media’, ‘Pages’, or ‘Posts’.

    Creating an advanced search form in WordPress

    By default, SearchWP will show a generic ‘Enter keyword and search’ message before the visitor enters a search query.

    You can replace this with your own messaging by typing into ‘Field Label’.

    Change how the custom search form looks on your website

    When you are happy with these settings, scroll to the ‘Form Style’ section.

    Here, you can choose between different form styles, add a border, and change the font size.

    Choosing a new form style using SearchWP

    Under ‘Button Style,’ you can customize the ‘Search’ button that appears in the form.

    There are more settings that you can use to change how the form looks and acts. However, this is all you need to create an advanced custom search form.

    When you’re happy with how the form is set up, you can scroll to the top of the screen and click on ‘Save’ to store your settings.

    How to save your custom form settings

    To create more custom search forms with unique settings, simply repeat the exact same process described above.

    Add a Custom Search Form to Any Page, Post, or Widget-Ready Area

    You can add an advanced search form to any page, post, or widget-ready area using the Search Form block.

    As an example, let’s see how you can add a search form to a post. Simply open the post in the WordPress content editor and click on the ‘+’ icon. Then, type in ‘Search Form’.

    Adding a search form to any WordPress page or post

    When the right block appears, give it a click.

    You can now open the ‘Select a Form’ dropdown and choose the form you want to use.

    Choosing between multiple search forms in WordPress

    When you are ready to make the search form live, just click on either ‘Update’ or ‘Publish’. Now, simply visit this page or post to see the search form in action.

    To add a search form to a widget-ready area, head over to Appearance » Widgets. Here, click the ‘+’ block icon in the area where you want to show the search form.

    Adding a search block to any widget-ready area

    Then, type in ‘Search Form’.

    When the right block appears, click to add it to the widget-ready area.

    Adding a search form to the sidebar or similar section

    You can now open the dropdown menu and choose the search form that you want to use.

    When you are finished, just click the ‘Update’ button to make the search form live.

    Publishing a search bar in WordPress

    For more detailed instructions, please see our guide on how to add and use widgets.

    Adding Live Ajax Search to a Custom Search Form

    Many online marketplaces and websites use live Ajax search. This automatically shows possible search results as the user types in the custom form, similar to how search engines such as Google work.

    An example of a live Ajax search on a WooCommerce online store

    With Ajax live search, you can show relevant results without even reloading the page. This makes it a great choice if you sell digital downloads or physical products online, as shoppers can instantly see products that match their search query.

    The easiest way to add Ajax live search to WordPress is by using SearchWP Live Ajax Lite Search. This free plugin automatically adds instant search to your website and works perfectly with any WordPress theme.

    The first thing you need to do is install and activate the plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

    Upon activation, the default WordPress search form will automatically use the Ajax live search feature. If you visit your site and start typing into the search bar, then you’ll see instant search in action.

    For more detailed instructions, please 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 advanced settings that will make it easier for users to find what they’re looking for.

    To do this, go to SearchWP » Settings and scroll to the ‘General Settings’ section.

    SearchWP's advanced search settings

    Here, you can activate any of the following settings:

    • Partial matches. With this setting enabled, SearchWP will display results that aren’t an exact match for the visitor’s search query.
    • Closest match. After enabling partial matches, you can also show the closest matches when a search has no results.
    • “Quoted” searches. This allows visitors to search for exact phrases using quotes.
    • Highlight terms. Automatically highlights the search terms to help visitors find what they’re looking for.

    Measuring Search Results and Improving Conversions

    To help you fine-tune your website’s search, it’s a good idea to monitor how visitors are using the search feature. This allows you to see what’s working and what’s not working on your WordPress blog, so you can constantly improve your site’s search and help visitors find what they are looking for.

    This data can even help you generate blog post ideas by showing the content that visitors are already searching for.

    To see the search history and most popular search terms, simply select ‘Statistics’ in the left-hand menu.

    SearchWP's advanced search settings

    We hope this tutorial helped you learn how to create a custom WordPress search form. You may also want to see our picks of the best live chat software for small businesses and our guide on how to get a free business email address.

    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.

    The post How to Create a Custom WordPress Search Form (Step by Step) first appeared on WPBeginner.

  • How Does WordPress Search Work (+ Tips to Make It Better)

    Do you want to learn how WordPress search works, and how you can make it better?

    By understanding and improving the built-in WordPress search, you can help visitors find what they’re looking for. This can get you more conversions while keeping people on your site for longer.

    In this article, we’ll look at how the default WordPress search works, and share tips on how to make it better.

    How does WordPress search work + tips to make It better

    How Does WordPress Search Work?

    WordPress comes with a search system that will look for content within your website.

    How the search bar looks and where it appears will vary depending on your WordPress theme, but most themes show the search bar in the top right corner.

    The built-in WordPress search bar

    Note: If your theme doesn’t show the WordPress search bar by default, then skip ahead to our FAQs, where we’ll show you how to add it.

    Visitors can type a search query into this field, and WordPress will search:

    • Page titles
    • Page content
    • Single-image titles and captions
    • Image alt text
    • File names

    As you can see, it doesn’t search widgets, user comments, categories, tags, WooCommerce products, or PDF documents. It also doesn’t search image gallery titles, captions, or alt text, although you can search this content using a search engine plugin like SearchWP.

    WordPress performs this search using the WP_Query class. It will start by displaying any posts that have the search term in the post title, arranged in reverse-chronological order, meaning that the newest entries will be displayed at the top of the results.

    After that, it’ll show any posts that have the matching term in the post content.

    For example, imagine you’ve just published a post about cats titled ‘My Favorite Pet’, and you also have an older post titled ‘Best Cat Photos.’ In this case, searching for ‘Cat’ will display the older ‘Best Cat Photos’ post first, since it has the search term in the title.

    This may not a problem for WordPress blogs or websites that only have small amounts of content. However, this ordering logic will often show inaccurate or confusing results for bigger blogs, online stores, or business websites.

    The built-in system is also missing some of the features that people expect from modern search engines. This includes autocomplete, live Ajax search, filtering, and spellcheck.

    Why Improve the Default WordPress Search?

    An advanced, fast, and accurate on-site search can help visitors find interesting and relevant content, which will keep them on your website for longer. This can increase pageviews and reduce bounce rate in WordPress.

    Since visitors are spending more time on your site, this will send positive signals to the search engines. This can improve your WordPress SEO, which means search engines like Google will show your content to more people and drive more visitors to your website.

    For more information, please see our guide on how to increase your blog traffic.

    People who are using your site’s internal search are already highly engaged. They’re actively looking for specific content, which may mean they’re ready to take actions such as buying a product, signing up to your WordPress membership site, or booking an appointment.

    If these people can’t find what they’re looking for, they may give up and go to a different website. This means you’re losing out on visitors who were ready to convert.

    A search results page is also an example of personalized content since you’re showing the visitor results that match their unique search query. By providing personalized content that’s accurate and helpful, you can improve the visitor experience. Once again, this can encourage them to convert.

    Performance is another reason why it’s a good idea to replace the default WordPress search with a better alternative.

    The larger your WordPress website gets, the longer it’ll take WP_Query to scan your database and get the results. This means your site’s search will get slower, as your website gets bigger.

    How to Make the WordPress Native Search Better

    On-site search helps visitors find what they’re looking for, including products to buy and interesting blogs to read. Since it’s such an important part of your site, it’s a bad idea to rely on the limited built-in WordPress search.

    With that being said, let’s see how you can improve the native WordPress search.

    Show Instant Results With Live Ajax Search

    Live Ajax search adds a dropdown and autocomplete feature that’s common in search engines like Google.

    As the user types, live search guesses what they want to search for and then shows them results without even reloading the page.

    How to improve WordPress search with live ajax results

    This can help visitors find the right content, without having to manually press the ‘Search’ button or wait for the page to reload.

    The easiest way to add Ajax live search to WordPress is using the free SearchWP Live Ajax Lite Search plugin. It enables instant search automatically and there are no settings for you to configure, so it’s very easy to set up.

    The first thing you need to do is install and activate the plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

    Upon activation, the default WordPress search form will automatically use the Ajax live search feature. If you visit your site and start typing into the search bar, then you’ll see the instant search in action.

    Change the Default Search URL Slug

    By default, WordPress search URLs typically look something like this:

    http://example.com/?s=search-term
    

    The extra ?s= characters make this URL more difficult to read and understand, which can confuse visitors who are trying to find their way around your site.

    Even worse, these URLs aren’t optimized for search engines which can stop them from correctly indexing your site’s contents.

    The easiest way to change these URLs is by adding custom code to WordPress using a plugin such as WPCode.

    You can go ahead and use the following custom code to replace the ‘/?s=search-term’ characters with ‘search.’ Your slug will look something like this when finished: http://example.com/search/wordpress

    To use something other than ‘search’ in your URL, simply customize the code snippet below.

    function wpb_change_search_url() {
        if ( is_search() && ! empty( $_GET['s'] ) ) {
            wp_redirect( home_url( "/search/" ) . urlencode( get_query_var( 's' ) ) );
            exit();
        }
    }
    add_action( 'template_redirect', 'wpb_change_search_url' );
    

    For detailed instructions on how to insert this code to your WordPress website, please see our guide on how to change the default search URL slug in WordPress.

    Make PDF Files Searchable in WordPress

    By uploading PDFs to your WordPress website, you can share information about your services and products in a format that works on all devices. They’re also perfect for offering your visitors ebooks, user manuals, menus, and more.

    However, WordPress only searches the contents of its database by default, so it will only look at the title and description of your PDF files, and not their contents. As a result, your visitors may struggle to find the best PDF for their search query.

    The good news is that you can use a custom search plugin to improve the default WordPress search experience. If your PDFs are unencrypted, then the right search plugin will index the contents and metadata of your PDFs and add them to the search results.

    For step-by-step instructions, please see our guide on how to add PDF indexing and searching in WordPress.

    Add a Search By Category Feature to WordPress

    If you have multiple categories of content on your website, then you might want to let users restrict their search to a specific category. This can help visitors find the right content, faster.

    An example of search by category on a WordPress website

    For example, if you have an online store then it often makes sense to let customers search within a particular product category.

    If you run a membership site, then you might use search by category to help visitors find other members, groups, forums, online courses, and other specific kinds of content. For more information, please see our guide on how to add search by category in WordPress.

    Make a Smart WooCommerce Product Search

    WooCommerce has its own built-in search, but it doesn’t look for matches in product attributes, reviews, or product descriptions. This omission can stop shoppers from finding products they want to buy on your online store, so you get fewer sales.

    The built-in WooCommerce search feature

    Luckily, there are some excellent WooCommerce plugins that can show more helpful search results, and fetch them faster. To learn more, please see our guide on how to make a smart WooCommerce product search.

    To get even more sales, you may want to fine-tune the kind of products WooCommerce includes in its search results. For example, you might only show products that are on sale or come with free shipping.

    To learn more, please see our guide on how to customize WooCommerce product search results page.

    Create a Search Form for Custom Post Types

    Custom post types allow you to go beyond posts and pages and create different content types for your website. Custom post types can have different custom fields and their own custom category structure.

    For example, if you run a movie review website, then you would probably want to create a ‘movie reviews’ post type that has fields for the director, release date, and more.

    At WPBeginner, we use custom post types for our Glossary section to keep it separate from our blog posts.

    How to improve your WordPress search with searchable categories

    If you use custom post types, then you may want to create a form that allows visitors to search only that content.

    For example, we also have a form that only searches WPBeginner’s coupon codes.

    Searching coupons and deals on the WPBeginner website

    This can help visitors find the right content faster, even when you have lots of different content types. For step-by-step instructions, check out our guide on how to create advanced search forms in WordPress for custom post types.

    You can also make custom fields searchable in WordPress, which is ideal if you’ve added extra metadata to your pages and posts.

    Exclude Content From WordPress search

    By default, the built-in WordPress search will include all posts and pages in its search results.

    However, you may want to exclude certain pages and posts from the search results. For example, if you’re running a WordPress membership website or selling online courses, then you’ll typically want to exclude your premium content from public search results.

    If you’re running an online store, then you may want to hide content like your account page, checkout page, and thank you page. To help you out, we’ve created a guide on how to exclude pages from the WordPress search results.

    Do you want to exclude posts, authors, custom post types, categories, tags, or even custom taxonomies? Then you can take a look at our guide on how to exclude specific pages, authors, and more from WordPress search.

    WordPress Search FAQs

    In this guide, we’ve explored how the default WordPress search works and shared lots of tips on how to improve it.

    However, you may still have some questions about this important feature. That said, here are some of the most frequently asked questions about WordPress search.

    How Do I Improve WordPress Search?

    The best way to improve the built-in WordPress search is by using SearchWP.

    SearchWP is the best custom search plugin for WordPress and allows visitors to search any content on your site including documents, WooCommerce products, custom fields, tags, comments, and more.

    It also lets you customize the WordPress search algorithm, so you can control exactly where the content appears in the search results.

    For more information, please see our guide on how to improve WordPress search.

    Does WordPress Search Include Tags?

    By default, WordPress search doesn’t include tags. The easiest way to make tags searchable is by using a custom search plugin like SearchWP.

    SearchWP also has a relevancy slider, so you can control exactly how much tags influence where an item appears in the search results.

    How Do I Add Search to My WordPress Theme?

    If your theme doesn’t have a built-in search form, then we recommend adding a search bar to the WordPress navigation menu.

    Since the main navigation menu typically appears across your entire site, visitors will be able to search for pages, posts, products, and more, from any page of your website.

    An example of a search bar, in a navigation menu

    If you’re using a block-based theme such as ThemeIsle’s Hestia Pro or Twenty Twenty-Three, then you can add a search bar to your theme using the full-site editor (FSE).

    To do this, go to Appearance » Editor in the WordPress dashboard.

    Opening the WordPress full site editor (FSE)

    By default, the editor will show your theme’s home template. If you want to add the search bar to a different template, then click on the small arrow icon in the toolbar.

    Then, select ‘Browse all templates.’

    How to browse all FSE templates in WordPress

    You’ll now see all the templates that make up your WordPress theme. Simply find the template where you want to add the search bar, and then click on its title.

    For example, if you wanted to add a search form in your WordPress posts then you’d select the ‘Single’ template.

    How to add the search bar to a single template in WordPress

    You will now see this template in the full-site editor.

    To go ahead and add a search bar, click on the blue ‘+’ icon.

    Adding widgets to a single template in WordPress

    In the popup that appears, type in ‘Search’ to find the right block.

    You can then drag the block to the location where you want to show the search bar.

    Adding a search block to a block-enabled theme template

    To customize the block title or placeholder text, simply type it into the search block where it says ‘search’ or ‘optional placeholder.’

    When you’re happy with how the block looks, click on ‘Save’ to make the search bar live.

    Publishing a block-enabled template with a search bar

    How Do I Add Search to a WordPress Page or Post?

    You can add a search bar to a specific page or post using the built-in Search block.

    This is a good choice if you want to control exactly where the search bar appears on every page and post, or you only need to offer search on specific areas of your website.

    How to improve the default WordPress search

    To get started, simply open the page where you want to add a search form and then click on the + icon.

    In the popup that appears, type ‘Search’ to find the right block. Once you click on the Search block, it will add the block to your page.

    Adding the Search block to a WordPress page or post

    By default, the block uses ‘Search’ for both its label and the button text.

    This will be visible to visitors, so you may want to replace it with something more descriptive by typing into the text fields.

    Customizing the WordPress search block

    You can also add some placeholder text to the search bar. This text will disappear automatically when the visitor starts typing.

    To add a placeholder, simply click on ‘Optional placeholder…’ and then start typing.

    How to improve the WordPress search

    When you’re happy with how the Search block looks, you can go ahead and either publish or update the post.

    We hope this tutorial helped you learn how WordPress search works, and how to make it better. You may also want to learn how to make money online blogging with WordPress, or check out our list of the best email marketing services for small businesses.

    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.

    The post How Does WordPress Search Work (+ Tips to Make It Better) first appeared on WPBeginner.

  • How to Add Fuzzy Search in WordPress to Improve Results

    Do you want to add fuzzy search to your WordPress website?

    Adding fuzzy search helps users easily find the information they are looking for, even if they misspell or otherwise incorrectly enter their query. This improves the overall search experience and user engagement on your website.

    In this article, we’ll show you how to easily add fuzzy search to your WordPress website.

    How to add fuzzy search to your WordPress website

    What is Fuzzy Search And Why Should You Add it to Your Website?

    Fuzzy search looks for partial matches for a search term, even if no exact matches are available, and shows users the most appropriate results.

    This way, users can find the right content on your website even if they make typos in the search query.

    By default, all WordPress websites come with a basic search feature that only shows results for exact matches.

    For instance, if a user misspells a term, no results will be shown not even partial matches. This creates a bad search experience for users and often causes them to leave your site. You can see this in the image below.

    No search results found

    This is where SearchWP comes in. It is the best WordPress search plugin on the market that automatically replaces the default search with a much better search feature.

    Unlike the default WordPress search, SearchWP can use fuzzy search as well as look for matches in titles, excerpts, post or page content, products, custom fields, categories, tags, PDF files, and more.

    For instance, if a user searches for ‘vintage furniture’ on your WordPress blog but misspells a word, they’ll still be able to find your posts on this topic.

    The image below shows the same misspelled search using the SearchWP plugin.

    That being said, let’s see how you can easily add fuzzy search to your WordPress website.

    How to Add Fuzzy Search to Your WordPress Website

    First, you need to install and activate the SearchWP plugin. For more details, please see our guide on how to install a WordPress plugin.

    Upon activation, you need to visit the SearchWP » Settings page from the admin sidebar and switch to the ‘License’ tab.

    Next, you need to copy and paste your license key and click on the ‘Activate’ button. You can find the license key under your account on the SearchWP website.

    SearcWP license

    Fuzzy search is not enabled by default in SearchWP, but you can easily turn it on. First, you need to switch to the ‘Advanced’ tab in the plugin’s settings page.

    Next, you need to simply check the ‘Partial matches (fuzzy when necessary)’ option under the ‘Actions & Settings’ section.

    Check the Partial matches option in the Action & Settings section

    Doing so will enable the fuzzy search feature for your site.

    Once that is done, you should review the other SearchWP settings for your site. The plugin comes with a bunch of powerful options that allow you to customize the search feature on your website.

    You can see them by simply switching to the ‘Engines’ tab under plugin settings.

    SearchWP settings

    From here, you can assign weight to different search results.

    You can also click on the Sources & Settings button to select additional search areas. For instance, you can enable search for comments, products, and more instead of simply posts and pages.

    Enable search for posts, comments, and pages

    To learn more, see our complete guide on how to improve WordPress search with SearchWP.

    Adding a Search Form to Your Website

    SearchWP automatically replaces the default WordPress search.

    This means that if you have already added the WordPress Search block or widget to your website, then it will start using SearchWP custom algorithm for results.

    However, if you have not added the search form to your website, then you can do so by simply adding the Search block or widget to any post, page, or sidebar area.

    Simply head over to the Appearance » Widgets page. Find the ‘Search’ block and simply add it to your sidebar.

    Don’t forget to click on the ‘Update’ button to store your settings.

    Search widget

    However, if you are using a block theme, then your theme may not have a widget-ready area. In that case, you won’t see the Widgets screen under the Appearance menu.

    Instead, you can use the site editor to add the search block to your website. Simply go to the Appearance » Editor page to launch the editor.

    After that, add the search block to your website where you want to display the search form.

    Adding search block in site editor

    Don’t forget to click on the Update button to save your settings.

    You can now visit your website and try out the new more powerful search feature.

    You can see in the image below how fuzzy search returns multiple relevant results with a misspelled query.

    Search results with fuzzy search

    We hope this article helped you learn how to easily add fuzzy search to your WordPress website. You may also want to see our tutorial on how to add multilingual search in WordPress and our list of the most common WordPress errors and how to fix them.

    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.

    The post How to Add Fuzzy Search in WordPress to Improve Results first appeared on WPBeginner.