• murilo-reinert

    (@murilo-reinert)


    Hello, first i need to say thank you for this great plugin.

    When I insert a post using wp_insert_post the post are not indexed.

    I try use this:

    $custom_fields = relevanssi_get_custom_fields();
    relevanssi_index_doc($id_p,false,$custom_fields,false);

    This code index the post, but not the custom fields, i try set custom fields with “all” and setting the name of the custom fields but doesn’t work.

    Appreciate any help.

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

Viewing 1 replies (of 1 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Relevanssi should index posts inserted with wp_insert_post. wp_insert_post() triggers a wp_insert_post action that Relevanssi hooks on to.

    If that is not happening, then there’s something else wrong as well.

Viewing 1 replies (of 1 total)
  • The topic ‘Build the index with wp_insert_post’ is closed to new replies.