WordPress.org

Forums

Swiftype Search
[resolved] Custom Post Types (6 posts)

  1. cmyharish
    Member
    Posted 2 years ago #

    Hi,

    The Plugin looks great, before i implement in the site, would like to know it supports for Custom Post Types?

    HArish

    http://wordpress.org/extend/plugins/swiftype-search/

  2. qhoxie
    Member
    Plugin Author

    Posted 2 years ago #

    Hello,

    The plugin does support indexing custom post types. Please give it a try and let us know what you think!

    Best,
    Quin, Swiftype

  3. itsmicks
    Member
    Posted 2 years ago #

    Hey Quin,

    Love this feature, but I was wondering if we could choose which Custom Post types get indexed? Is there a way to block some? I have a lot post types that are for data around the site but shouldn't show up in search independently.

  4. PatricioCamposA
    Member
    Posted 2 years ago #

    Hi itsmicks

    You can use robots.txt to disallow access to swiftype

    check this
    https://swiftype.com/documentation/robots

  5. qhoxie
    Member
    Plugin Author

    Posted 2 years ago #

    Hello,

    This actually isn't the case with the WordPress plugin. The robots directives only apply to search engines created using our crawler solution. There is a good solution for the plugin as well. You can use a filter to restrict the post types that are allowed to be searched. Here is an example that only allows posts: https://gist.github.com/qhoxie/47e39f8db6b6fa2b7d7c

    Best,
    Quin

  6. liongabriel
    Member
    Posted 1 year ago #

    Is it possible to add checkboxes in the search to narrow it by custom post types?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Swiftype Search
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.