WordPress.org

Forums

Relevanssi - A Better Search
[resolved] Indexing filtered Title (2 posts)

  1. faebu
    Member
    Posted 1 year ago #

    Hi,

    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

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

  2. Mikko Saari
    Member
    Plugin Author

    Posted 1 year ago #

    Sure, why not.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Relevanssi - A Better Search
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic