WordPress.org

Support

Support » Plugins and Hacks » Relevanssi - A Better Search » [Plugin: Relevanssi – A Better Search] Feature Request: Options for including category/taxonomy pare

[Plugin: Relevanssi – A Better Search] Feature Request: Options for including category/taxonomy pare

  • When the options for including posts’ categories and/or custom taxonomies are enabled, it’d be nice to have two additional options to also include their parents, as this would enable an even more effective fuzzy search. Something like this alternative version to the category indexing code block that starts at line 2295 (not tested, as I don’t actually have multiple category levels, and probably in need of a rework or “function’izing” to avoid repeating code blocks) or this one to the first foreach in the index_taxonomy_terms() function (tested and working!).

    PS1: The test I did in the last one was with if (true) {, as I still don’t know how to handle WP’s admin side of things. 😛

    PS2: I noticed the index_taxonomy_terms() description says it should return the number of terms indexed, but it actually doesn’t. I guess there should be a return $n; at the end?

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Relevanssi – A Better Search] Feature Request: Options for including category/taxonomy pare’ is closed to new replies.
Skip to toolbar