Support » Plugin: Relevanssi - A Better Search » Indexing filtered Title

  • Resolved faebu



    Thanks for this great plugin. We’re using a filter hook to modify the post titles before they are shown. Unfortunately you’re plugin only filters the “raw” post title.

    We therefore modified one line of your code to make the title filter hooks apply. It would be great if you could add this in your plugin.

    $titles = relevanssi_tokenize($post->post_title);

    Replaced by

    $titles = relevanssi_tokenize(apply_filters('the_title', $post->post_title));

    Thanks a lot

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Indexing filtered Title’ is closed to new replies.