• Resolved Olaf Lederer

    (@finalwebsites)


    I see right now it’s possible to index posts, pages, attachments and also custom post types, great!
    Are there plans to include post meta field values too?
    And custom taxonomies? My site is about sheet music and people like to search for the composer, artist and publisher. I used WooCommerce attributes to create archives, now I like to search for them too.
    Thank you

    https://wordpress.org/plugins/searchiq/

Viewing 1 replies (of 1 total)
  • Thread Starter Olaf Lederer

    (@finalwebsites)

    I found this public class method inside the core.php file:

    public function createDocumentFromPost($post){ ... }

    What if I create my method with support for additional fields and taxonomies? Would that work for this search as well? Or better does the searchIQ server understand what to do with the value for the field “ISBN”?

    In that case I would create a multi array for custom fields like
    $dataForSubmission['custom_fields'] = $fields; // fields would be an array too

    This is just an example and I guess you need to do something on your side first. 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Support for custom fields and custom taxonomies’ is closed to new replies.