thkost
Forum Replies Created
-
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Issue with search resultWell after I removed var_dump it started working correctly, I am not really sure how and why. Thanks for your time!
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Issue with search resultIt prints
string(816) "SELECT DISTINCT(relevanssi.doc), relevanssi.*, relevanssi.title * 2 + relevanssi.content * 1 + relevanssi.comment * 0 + relevanssi.tag * 0.75 + relevanssi.link * 0 + relevanssi.author + relevanssi.category * 1 + relevanssi.excerpt + relevanssi.taxonomy + relevanssi.customfield + relevanssi.mysqlcolumn AS tf FROM u0rz_relevanssi AS relevanssi WHERE (term LIKE '%278%') AND ((relevanssi.doc IN (SELECT DISTINCT(posts.ID) FROM u0rz_posts AS posts WHERE posts.post_type NOT IN ('revision', 'nav_menu_item', 'custom_css', 'customize_changeset', 'oembed_cache', 'user_request', 'wc_category_slider', 'acf-field-group', 'acf-field', 'product_variation', 'shop_order', 'shop_order_refund', 'shop_coupon', 'wpcf7_contact_form', 'import_users', 'wysijap'))) OR (doc = -1)) ORDER BY tf DESC LIMIT 500"- This reply was modified 7 years, 8 months ago by thkost.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Issue with search resultChanged it but didn’t see any differences.
If i deactivate Relevanssi it does work with the default search.
But i want to use Relevanssi because i am also using this:
add_filter(‘relevanssi_remove_punctuation’, ‘remove_hyphens’, 9);
function remove_hyphens($a) {
$a = str_replace(‘-‘, ”, $a);
return $a;
}which does work.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Issue with search resultHello again,
I added this:
add_filter( ‘relevanssi_fuzzy_query’, ‘rlv_partial_inside_words’ );
function rlv_partial_inside_words( $query ) {
return “(term LIKE ‘%#term#%’)”;
}but it didn’t make any differrence
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Import Players IssueNumber,Name,Positions,Teams,Leagues,Seasons,Nationality
,Justin Anderson,G,Atlanta Hawks,,3,us
,Kent Bazemore,G-F,Atlanta Hawks,,6,us
,Jeremy Lin,G,Atlanta Hawks,,8,us
,Taurean Prince,F,Atlanta Hawks,,2,us
,DeAndre’ Bembry,F,Atlanta Hawks,,2,us
,Miles Plumlee,C-F,Atlanta Hawks,,6,us