# WordPress

**URL:** https://community.swiftype.com/c/faq/wordpress/10.md

[Latest](https://community.swiftype.com/latest.md) · [Categories](https://community.swiftype.com/categories.md) · [Tags](https://community.swiftype.com/tags.md)

---

## [Talking 'bout WordPress](https://community.swiftype.com/t/talking-bout-wordpress/120)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 22, 2015, 6:49pm UTC](https://community.swiftype.com/t/talking-bout-wordpress/120 "2015-12-22T18:49:58Z")

</div>

This category is for topics related to installing Swiftype search into a WordPress site. By way of the Swiftype plug-in or advanced theme customization.

---

## [Search on 'SKU' and Custom field](https://community.swiftype.com/t/search-on-sku-and-custom-field/525)

<div class="topic-metadata">

**Author:** [@bjctoolsnl](https://community.swiftype.com/u/bjctoolsnl)\
**Replies:** 3\
**Last updated:** [December 18, 2019, 8:44pm UTC](https://community.swiftype.com/t/search-on-sku-and-custom-field/525 "2019-12-18T20:44:42Z")

</div>

Hi, We make use of Swiftype with woocommerce. Can we let our visitors search on #sku and an extra Custom field? Can we also use Swiftype in the Woocommerce backend? Hope to get a solution :slight\_smile: Gr Luuk

---

## [Deleting Wordpress Plugin: Files still being served from Swiftype](https://community.swiftype.com/t/deleting-wordpress-plugin-files-still-being-served-from-swiftype/830)

<div class="topic-metadata">

**Author:** [@alark](https://community.swiftype.com/u/alark)\
**Replies:** 0\
**Last updated:** [August 25, 2018, 5:56pm UTC](https://community.swiftype.com/t/deleting-wordpress-plugin-files-still-being-served-from-swiftype/830 "2018-08-25T17:56:23Z")

</div>

Hi, I deactivated and deleted the Swiftype plugin. There are two files that are still showing up when I check my site with a page speed monitor. I would expect all items to be removed when deleting the plugin. Can you…

---

## [How do I index WordPress category listing pages?](https://community.swiftype.com/t/how-do-i-index-wordpress-category-listing-pages/30)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 21, 2015, 5:05pm UTC](https://community.swiftype.com/t/how-do-i-index-wordpress-category-listing-pages/30 "2015-12-21T17:05:43Z")

</div>

My category pages are not showing up in the search results when I use the Swiftype WordPress plug-in. Is there a way to include them? By default, our WordPress plug-in only indexes posts (and post-like objects such as…

---

## [Can I add a Swiftype Search Box that only searches a specific section / custom post type?](https://community.swiftype.com/t/can-i-add-a-swiftype-search-box-that-only-searches-a-specific-section-custom-post-type/498)

<div class="topic-metadata">

**Author:** [@kirk](https://community.swiftype.com/u/kirk)\
**Replies:** 0\
**Last updated:** [November 16, 2017, 1:18am UTC](https://community.swiftype.com/t/can-i-add-a-swiftype-search-box-that-only-searches-a-specific-section-custom-post-type/498 "2017-11-16T01:18:24Z")

</div>

Hi There, I am using Swiftype to power the global search on my website. I have multiple sections on my website including, for example, a knowledge base. The knowledge base is built out as a series of articles within a …

---

## [Why is my Swiftype search box not showing up in WordPress?](https://community.swiftype.com/t/why-is-my-swiftype-search-box-not-showing-up-in-wordpress/84)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 21, 2015, 11:18pm UTC](https://community.swiftype.com/t/why-is-my-swiftype-search-box-not-showing-up-in-wordpress/84 "2015-12-21T23:18:42Z")

</div>

My theme seems to be stopping the search box from displaying is that something that is fixable? This situation is often easily fixed. The Swiftype WordPress search plugin takes over the default WordPress search widget…

---

## [How do I include images in the Swiftype WordPress plug-in's autocomplete dropdown?](https://community.swiftype.com/t/how-do-i-include-images-in-the-swiftype-wordpress-plug-ins-autocomplete-dropdown/114)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 22, 2015, 6:26pm UTC](https://community.swiftype.com/t/how-do-i-include-images-in-the-swiftype-wordpress-plug-ins-autocomplete-dropdown/114 "2015-12-22T18:26:45Z")

</div>

How do I include images in the autocomplete results when using the Swiftype Search plug-in for WordPress? To customize the autocomplete dropdown for your search engine built with the Swiftype plug-in for WordPress, y…

---

## [Can I disable the autocomplete when using the Swiftype WordPress plugin?](https://community.swiftype.com/t/can-i-disable-the-autocomplete-when-using-the-swiftype-wordpress-plugin/90)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 21, 2015, 11:35pm UTC](https://community.swiftype.com/t/can-i-disable-the-autocomplete-when-using-the-swiftype-wordpress-plugin/90 "2015-12-21T23:35:53Z")

</div>

I love the search results that Swiftype provides, but I don’t want the autocomplete dropdown. Can I disable it? Yes, this is possible with recent versions of the Swiftype Search WordPress plugin. First, ensure you are…

---

## [How does the Swiftype WordPress plugin handle shortcodes?](https://community.swiftype.com/t/how-does-the-swiftype-wordpress-plugin-handle-shortcodes/174)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 11, 2016, 5:03pm UTC](https://community.swiftype.com/t/how-does-the-swiftype-wordpress-plugin-handle-shortcodes/174 "2016-04-11T17:03:44Z")

</div>

When indexing content from your WordPress posts, the Swiftype Search WordPress plugin will strip shortcodes, but retain the content inside the shortcode. For example, a shortcode like \[youtube url=ZUD3qUtT3go\] will be r…

---

## [Why am I no longer seeing click-through stats when using the WordPress plugin?](https://community.swiftype.com/t/why-am-i-no-longer-seeing-click-through-stats-when-using-the-wordpress-plugin/147)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 8, 2016, 9:39pm UTC](https://community.swiftype.com/t/why-am-i-no-longer-seeing-click-through-stats-when-using-the-wordpress-plugin/147 "2016-04-08T21:39:02Z")

</div>

We’re using the Swiftype’s WordPress plugin, and last week we switched themes. Now my click-through stats stopped working. Please help! The Swiftype WP plugin utilizes Wordpress’ post\_class function in order to add…

---

## [How can I exclude certain posts from search results using the Swiftype WordPress plugin?](https://community.swiftype.com/t/how-can-i-exclude-certain-posts-from-search-results-using-the-swiftype-wordpress-plugin/166)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 8, 2016, 11:57pm UTC](https://community.swiftype.com/t/how-can-i-exclude-certain-posts-from-search-results-using-the-swiftype-wordpress-plugin/166 "2016-04-08T23:57:55Z")

</div>

I have a few posts in my WordPress site that I never want to show in search results. How can I exclude them? There are a few ways to accomplish this with the Swiftype Search. The simplest way is to add the posts you w…

---

## [Can the Swiftype WordPress plug-in search comments?](https://community.swiftype.com/t/can-the-swiftype-wordpress-plug-in-search-comments/164)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 8, 2016, 11:22pm UTC](https://community.swiftype.com/t/can-the-swiftype-wordpress-plug-in-search-comments/164 "2016-04-08T23:22:23Z")

</div>

I have a custom help desk plugin on my site that uses a WordPress custom post type and comments for the replies. Without searching the replies as well, this search isn’t very functional for us. Is it possible to also se…

---

## [How can I display only post titles in the WordPress search results?](https://community.swiftype.com/t/how-can-i-display-only-post-titles-in-the-wordpress-search-results/160)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 8, 2016, 10:40pm UTC](https://community.swiftype.com/t/how-can-i-display-only-post-titles-in-the-wordpress-search-results/160 "2016-04-08T22:40:43Z")

</div>

Should I edit my WordPress theme’s search.php file or is there a function I could add to only display my post titles in the search results. The Swiftype WordPress plugin does not change how your search results look on…

---

## [How can I exclude a Wordpress post type from being indexed?](https://community.swiftype.com/t/how-can-i-exclude-a-wordpress-post-type-from-being-indexed/159)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 8, 2016, 10:37pm UTC](https://community.swiftype.com/t/how-can-i-exclude-a-wordpress-post-type-from-being-indexed/159 "2016-04-08T22:37:56Z")

</div>

Is there a way to prevent specific post types from being indexed by the Swiftype WordPress plug-in? This can be accomplished with version 1.1.34 or higher of the Swiftype Plug-in. Add the following code to your WordP…

---

## [When does the Swiftype Search WordPress plugin sync posts?](https://community.swiftype.com/t/when-does-the-swiftype-search-wordpress-plugin-sync-posts/154)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 8, 2016, 10:14pm UTC](https://community.swiftype.com/t/when-does-the-swiftype-search-wordpress-plugin-sync-posts/154 "2016-04-08T22:14:14Z")

</div>

How often are posts synced with the Swiftype WordPress plugin? I’m finding that my posts do not update for some reason and are not able to be searched unless I manually synchronize the entire engine from the WordPres…

---

## [How can I display faceted search results with WordPress?](https://community.swiftype.com/t/how-can-i-display-faceted-search-results-with-wordpress/149)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 8, 2016, 9:51pm UTC](https://community.swiftype.com/t/how-can-i-display-faceted-search-results-with-wordpress/149 "2016-04-08T21:51:05Z")

</div>

The Swiftype Search WordPress plugin version 1.1.38 and greater provides the swiftype\_render\_facets theme function to enable you to easily add faceting to your search results page. To use it, follow these steps: Update…

---

## [Can the Swiftype Search WordPress plugin restrict faceted search using multiple terms?](https://community.swiftype.com/t/can-the-swiftype-search-wordpress-plugin-restrict-faceted-search-using-multiple-terms/148)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 8, 2016, 9:43pm UTC](https://community.swiftype.com/t/can-the-swiftype-search-wordpress-plugin-restrict-faceted-search-using-multiple-terms/148 "2016-04-08T21:43:33Z")

</div>

Is it possible to combine facets in your Swiftype WordPress search plugin? Example: I have some custom\_type which has custom\_tax1 and custom\_tax2 as taxonomy. Is it possible to run a query filtering custom\_tax1 AND…

---

## [Help! I accidentally cleared my Swiftype Search WordPress configuration. Is there a way to restore it?](https://community.swiftype.com/t/help-i-accidentally-cleared-my-swiftype-search-wordpress-configuration-is-there-a-way-to-restore-it/144)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 8, 2016, 9:10pm UTC](https://community.swiftype.com/t/help-i-accidentally-cleared-my-swiftype-search-wordpress-configuration-is-there-a-way-to-restore-it/144 "2016-04-08T21:10:53Z")

</div>

Yes, this is possible. However, it requires editing your WordPress database, which can be potentially dangerous. WARNING: Directly editing your WordPress database can severely break it. We recommend against doing this i…

---

## [How do I fix WooCommerce Error: Call to a member function is\_visible()?](https://community.swiftype.com/t/how-do-i-fix-woocommerce-error-call-to-a-member-function-is-visible/81)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 21, 2015, 11:12pm UTC](https://community.swiftype.com/t/how-do-i-fix-woocommerce-error-call-to-a-member-function-is-visible/81 "2015-12-21T23:12:34Z")

</div>

Is there a way to resolve the following error when using the Swiftype WordPress plug-in co-operation with a WooCommerce enabled WordPress site? Fatal error: Call to a member function is\_visible() on a non-object in w…

---

## [Why don't the search results in my Swiftype dashboard match what is displayed on my WordPress site?](https://community.swiftype.com/t/why-dont-the-search-results-in-my-swiftype-dashboard-match-what-is-displayed-on-my-wordpress-site/47)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 21, 2015, 8:42pm UTC](https://community.swiftype.com/t/why-dont-the-search-results-in-my-swiftype-dashboard-match-what-is-displayed-on-my-wordpress-site/47 "2015-12-21T20:42:40Z")

</div>

I installed the Swiftype WordPress plugin and it indexed all my posts, but it doesn’t seem to be working on my site. When I submit a search in the Swiftype dashboard, why do I get different results than when I submit…

---

## [Does the Swiftype WordPress plugin support BuddyPress?](https://community.swiftype.com/t/does-the-swiftype-wordpress-plugin-support-buddypress/39)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 21, 2015, 6:12pm UTC](https://community.swiftype.com/t/does-the-swiftype-wordpress-plugin-support-buddypress/39 "2015-12-21T18:12:39Z")

</div>

We don’t have support for BuddyPress per se, but depending on how you need your search to work, it may be acceptable. As of version 1.1.17, the Swiftype WordPress plugin supports custom post types. However, we do not c…

---

## [How can I index WordPress category names with posts?](https://community.swiftype.com/t/how-can-i-index-wordpress-category-names-with-posts/135)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [February 5, 2016, 12:46am UTC](https://community.swiftype.com/t/how-can-i-index-wordpress-category-names-with-posts/135 "2016-02-05T00:46:57Z")

</div>

I tried searching for a post by its category name, and it didn’t come up. How can I fix this? At this time, the Swiftype WordPress plug-in doesn’t index category name values with posts. The default behavior is to inde…

---

## [How can I change the number of results per page with the WordPress plug-in?](https://community.swiftype.com/t/how-can-i-change-the-number-of-results-per-page-with-the-wordpress-plug-in/109)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 22, 2015, 6:00pm UTC](https://community.swiftype.com/t/how-can-i-change-the-number-of-results-per-page-with-the-wordpress-plug-in/109 "2015-12-22T18:00:31Z")

</div>

This can be accomplished by adding a swiftype\_search\_params\_filter in your theme’s functions.php. function swiftype\_search\_params\_filter($params) { $params\['per\_page'\] = 10; // update the value to your desired…

---

## [How do I include featured images in my WordPress based engine?](https://community.swiftype.com/t/how-do-i-include-featured-images-in-my-wordpress-based-engine/103)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 22, 2015, 5:37pm UTC](https://community.swiftype.com/t/how-do-i-include-featured-images-in-my-wordpress-based-engine/103 "2015-12-22T17:37:05Z")

</div>

The posts and pages in my WordPress site have featured images set, but those image links don’t appear to be included in my results indexed with the Swiftype WordPress plug-in. How do I fix this? To include featured im…

---

## [Where do I add meta tags for my WordPress Site?](https://community.swiftype.com/t/where-do-i-add-meta-tags-for-my-wordpress-site/99)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 22, 2015, 5:13pm UTC](https://community.swiftype.com/t/where-do-i-add-meta-tags-for-my-wordpress-site/99 "2015-12-22T17:13:19Z")

</div>

I am using Swiftype’s crawler to index my WordPress site. How do I add meta tags? If you have a WordPress site and would like to index your site with our crawler versus using Swiftype’s plug-in, you have the option of…

---

## [What post types will the Swiftype WordPress plugin index?](https://community.swiftype.com/t/what-post-types-will-the-swiftype-wordpress-plugin-index/96)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 21, 2015, 11:45pm UTC](https://community.swiftype.com/t/what-post-types-will-the-swiftype-wordpress-plugin-index/96 "2015-12-21T23:45:30Z")

</div>

The Swiftype WordPress plugin will index all registered post types that are not excluded from search. Typically, this means they have been registered with the public flag set to true (as this is a shortcut for exclude\_f…

---

## [Can I make the Swiftype WordPress plugin search only pages?](https://community.swiftype.com/t/can-i-make-the-swiftype-wordpress-plugin-search-only-pages/89)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 21, 2015, 11:33pm UTC](https://community.swiftype.com/t/can-i-make-the-swiftype-wordpress-plugin-search-only-pages/89 "2015-12-21T23:33:06Z")

</div>

It seems like your plugin searches posts and pages. I only want it to search pages. How do I do that? The Swiftype search plugin will index all post types that are marked as available for search (additionally, items i…

---

## [Can I change the number of results shown in the Swiftype WordPress autocomplete?](https://community.swiftype.com/t/can-i-change-the-number-of-results-shown-in-the-swiftype-wordpress-autocomplete/87)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 21, 2015, 11:28pm UTC](https://community.swiftype.com/t/can-i-change-the-number-of-results-shown-in-the-swiftype-wordpress-autocomplete/87 "2015-12-21T23:28:04Z")

</div>

Yes, you can change the number of autocomplete results using the resultLimit option of the swiftypeConfig JavaScript object. Add the following code to your theme’s functions.php file: function swiftype\_javascript\_config…

---

## [How can I restrict Swiftype to search certain categories only with WordPress?](https://community.swiftype.com/t/how-can-i-restrict-swiftype-to-search-certain-categories-only-with-wordpress/85)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 21, 2015, 11:20pm UTC](https://community.swiftype.com/t/how-can-i-restrict-swiftype-to-search-certain-categories-only-with-wordpress/85 "2015-12-21T23:20:21Z")

</div>

To restrict your search to specified categories, you’ll need to add a filter to your search parameters. First, find the category IDs of the categories you want to search exclusively. Next, add a WordPress filter functi…

---

## [Showing Latest & Most Popular Searches in WordPress](https://community.swiftype.com/t/showing-latest-most-popular-searches-in-wordpress/80)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 21, 2015, 11:11pm UTC](https://community.swiftype.com/t/showing-latest-most-popular-searches-in-wordpress/80 "2015-12-21T23:11:12Z")

</div>

Just wondering if there was any way of showing the Latest & Most Popular Searches via Swiftype on my WordPress website? Currently, the best way to do this right now is by using our Search Analytics API. Beyond that, …

[Next page](https://community.swiftype.com/c/faq/wordpress/10.md?page=1)
