WordPress.org

Ready to get started?Download WordPress

Forums

Custom post types, taxonomies and Relevanssi (3 posts)

  1. Daniel Koskinen
    Member
    Posted 3 years ago #

    Will Relevanssi work with Custom Post types, or does it only look at posts and pages? I'm guessing it should be easy to support since at the db level it's still just a post in the $wpdb->posts table.

    How about custom taxonomies, though? If I create a new taxonomy and use it with a custom post type, will Relevanssi index those in the same way it indexes tags?

    http://wordpress.org/extend/plugins/relevanssi/

  2. Mikko Saari
    Member
    Posted 3 years ago #

    If you choose to only index posts or pages, it will add a restriction to the post type. However, if you choose "both", then there's no restriction and the only limit is post_status set to "publish". In that case everything will be indexed.

    Custom taxonomies aren't supported yet, but if there's a way to get a list of taxonomies available, adding an option to index all of them would be simple (indexing only some of them isn't much harder, but takes more UI stuff).

    Next version will have custom taxonomies indexing.

  3. Mikko Saari
    Member
    Posted 3 years ago #

    Version 1.8, out Real Soon, will have support for custom post types and custom taxonomies.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags