Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterHi!
Looks like you solved it? It works for me at least right now.
Yes, posts related to undefined field are ejected. It’s a complicated problem. Initially I was planning to add an option called “Show result if the field is not defined?”, but I had to remove that. The resason is, that it’s impossible to distinguish if the field in question is not matching or not defined on database level. It resulted showing every result despite they were not matching the custom field criteria, because they were recognized as not defined.
Then I tried different approaches, but all of them were dismissed because of the huge performance impact.
Ernest Marcinko
KeymasterHi again!
Have you changed the search input font to 14px? I see it’s 20px right now, so it stretches the input field to 20 pixels.
For cross browser support try:
[code]input.orig::-webkit-input-placeholder,
input.orig::-moz-placeholder,
input.orig::-ms-input-placeholder {
font-size: 14px !important;
}[/code]Ernest Marcinko
KeymasterHi!
Someone else already asked this question a couple of days back, you can check it here: https://wp-dreams.com/forums/topic/setup-like-your-demo-site/#post-4380
In addition, the suggested keywords below the search bare are indeed not covered in that article. You can enable/change them on the Frontend Search Settings -> Suggested Keywords panel.
Ernest Marcinko
KeymasterHi!
Sorry about the late answer, I must have missed your ticket somehow.
There is a way to return taxonomy terms as results. If you go to the General Options -> Sources 2 panel, you can select which taxonomies you want to search, if that’s what you mean.
Ernest Marcinko
KeymasterIt was only the plugin code, nothing else 😉
Ernest Marcinko
KeymasterHi!
1. It’s because your theme is overriding the placeholder style. Try to increase the CSS compatibility level: Increasing CSS compatibility
Or, you can add a custom CSS rule, which fill force the placeholder size:
[code]
input.orig::-webkit-input-placeholder {
font-size: 14px !important;
}
[/code]2. That option only affects the woocommerce built in search engine.
If you want to exclude posts/pages/products, then please rather use the Advanded Options -> xclude Posts by ID’s (comma separated post ID-s) option. It’s much safer and faster. Here is a screenshot on how to find your product IDs: https://i.imgur.com/6byLhQf.png
Ernest Marcinko
KeymasterHi!
Yes there are settings.
1. It’s the viewport size. If it’s set to 7, then the scrollbar will only appear if there are 8 or more results. The initial value is 4. You can change this setting on the General Option -> Behavior -> Results box viewport (in item numbers) option.
2. It’s adjustable just under the previous setting: General Option -> Behavior -> Max. results option.
If the Max results count is bigget than the viewport, the scrollbar is displayed.
Ernest Marcinko
KeymasterAlso, I forgot, that there is a setting for that:
Theme Options -> Isotopic layout -> Blur overlay image on mouseover?
Ernest Marcinko
KeymasterI see.
Open up the ajax-search-pro/includes/views/asp.shortcode.data.php file and go to lines 23-25, where you should see this:
[code]
<filter id="aspblur">
<feGaussianBlur in="SourceGraphic" stdDeviation="4"/>
</filter>
[/code]Change that to:
[code]
<filter id="aspblur">
</filter>
[/code]If you clear your page cache, the filter should disappear.
Ernest Marcinko
KeymasterNot possible. Firefox does not support the blur filter on images unfortunately.
Ernest Marcinko
KeymasterHi!
If you open up the page in the editor, you can see the id on the top browser bar like this: http://i.imgur.com/6byLhQf.png
In your case, the homepage ID is 20. I’ve already added it to the excluded posts list so you don’t have to 😉
Ernest Marcinko
KeymasterHi!
Can you provide temporary admin & ftp details so I can check on this issue? Which plugin are you using to enble categories for pages?
To exclude pages I rather recommend using the “Exclude Posts by ID’s (comma separated post ID-s)” option on the advanced options panel, it works with pages too 😉 Search speed wise it’s a bit faster as well.
Ernest Marcinko
KeymasterHi!
Sorry, I might have sent you the one where this bug was not fixed, but the others. I’ve fixed it manually. I have a lot of work with lots of files, sometimes I make mistakes 😉
The categories were showing because Product Categories were still selected on the General Options -> Sources 2 panel. I’ve deselected, so the categories now won’t show anymore.
Ernest Marcinko
KeymasterWell, I think I managed to find a solution. It basically changes the ajax url every time to the correct one. I’ve changed the search code to do that.
However you can’t place hovering styled result above the search bar. But if you use the results shorcode, you can place it wherever you want. (but it will display as a block, thus pushing the content) There is more info about this in the documentation: http://wpdreams.gitbooks.io/ajax-search-pro-documentation/content/getting_started/custom_result_box_position.html
Ernest Marcinko
KeymasterHow do you have the same wordpress install on different domains?
Ajax requests will not work on cross domains, it’s forbidden by the same origin policy.
As I checked, every domain sends the requests back to the “.com” which is prohibited.
Let me check if there is a way to adjust and proxy the ajax url to the current domain. It might not work though.
-
AuthorPosts