elfigos
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Hacker keeps trying login adminalright thank you for the advice!
Forum: Fixing WordPress
In reply to: Hacker keeps trying login adminHey thank you for replying,
I use a plugin that blocks all country ips except Italy, I tried with a vpn and it works
but I dont understand how can bots access the admin login if login page is blocked besides it has a different url (different from /wp-login)Forum: Plugins
In reply to: [WPS Hide Login] Custom login redirects to same page after loginHi, thanks for the reply, what I mean is, when I try to login it does not login but instead it just refreshes the page.
Forum: Themes and Templates
In reply to: [GeneratePress] Weird scroll lag on Android devicesIt looks like it’s a mobile Chrome bug only on android version. Chrome lags if there is background linear gradient
- This reply was modified 3 years, 2 months ago by elfigos.
By the way, how do I stop wordpress/relevanssi from searching (from querying and not from showing) if no terms are entered?
MMhg, I noticed a strange thing.
The termless search is getting all the wp core posts + the posts(custom post type) that I converted from wp core post to the custom post with a custom post type switcher plugin. But cannot retrieve the custom posts that I natively created.
Nope, if I use your code, even when I use post_type=cpt in the url I will get only wp core posts.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Add custom term to relevanssi indexI mean content that I index, when relevanssi index the title, does it add “Title” as its name?
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Add custom term to relevanssi indexThank you! Only one question, doesn’t each different content have a unique title/name?
Hello thanks for the response, but I asked for custom images sizes set with add_image_size hook, not the default ones appeared on smush plugin
It’s working now, I had the stopwords activated… Thank you for your support! I will edit and order this review explaining everything also for the new Relevanssi users.
Sorry I just realized I had all the default stopwords activated. But I deleted them earlier, I was sure I deleted. Sorry again, you can delete this ticket, Thank you!
Mmmmh, still no improvement
Default operator: OR
Keyword matching: Partial words
relevanssi_fuzzy_query: not activated inside words
Throttle searches: activated
Minimum word length: 1I set content = ” before INDEXING keeping only the Title
I have more than 600 Posts Title with the word “Pinyin”
Search “p”: 0 results.
Search “pi”: 488 results.
Search “pin”: 500 results.My considerations:
– It seems that Relevanssi searches inside words by default from 3 letters, not working well with 2 letters, and not working with 1 letter.
– If I activate
add_filter( 'relevanssi_fuzzy_query', 'rlv_partial_inside_words' ); function rlv_partial_inside_words( $query ) { return "(relevanssi.term LIKE '%#term#%')"; }
Search inside terms still not working for 1 letter
Another strange thing I found is that, I have 600 posts with the word “ABCDE”, if I search for “AB” it gives me 370 results, if I search for “ABC” it gives me 500 results. If I search for “A”, it gives me 3 results.
- This reply was modified 3 years, 9 months ago by elfigos.