Adding filters
-
I sent this to the main support place but did not receive a reply. I could post forward to a git repository as a pull request if you let me know where that is. I propose allowing users to change or add to the taxonomy used in tag weighting.
add in the following:
$tags = apply_filters( 'searchiq_add_tags', $tags, $post);
to library/core.php on line 1021would allow users to add extra tags per post programatically. I have created a gist that shows I can create a new taxonomy “search tags” and use those along with the other tags already assigned. This allows tag weighting to work on other things besides posts that might not use tags.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Adding filters’ is closed to new replies.