Forum Replies Created
-
AuthorPosts
-
December 3, 2014 at 10:55 am in reply to: Split: Blog Multisite section doesn't appear any Blog #3089
Ernest Marcinko
KeymasterHi Eno!
I just stumbled upon your reply on the other topic, I don’t get notified if another user replies to anothers topic.
And what if you select both, or all of the blogs? Will it return results from both? And then if you only select the one that you want, does it change anything?
I hope you get notifications of this topic. To make sure I’ll send you a message through your profile mail as well. Let me know if you get notified (besides my mail) so I don’t need to message you if I reply.
Ernest Marcinko
KeymasterHi!
2. If you deselect “Search in posts” and “Search in pages” then of course there are no results, there is nothing to return whatsoever.
I see you reverted back to 3.2, no problem. I logged in with the admin details and changed on file in the search plugin, to apply the fix to not show all results, when there are no matches. (that was a bug in 3.2)
Now it shows the “Sorry, there was no content that matched your search.” if there are no matches as it’s specified in your theme.I typed in million, and nothing shows 0 million. There are several others like $150 million, $10 million etc.:http://i.imgur.com/tg0F1P2.png
The plugin does not affect these result layouts. It’s the default wordpress results page, coming from your theme, only with the posts that are specified by the ajax search pro plugin. So I don’t know why those signs were removed, but it’s more likely related to the theme or to another plugin that applies a filter over the returned search content. I might be wrong though.December 3, 2014 at 8:17 am in reply to: Search not working on custom fields that are inside of a custom post. #3084Ernest Marcinko
KeymasterHi!
I can’t see the search anywhere on that page, could you please link me to a page where the search is active?
Also, could you please edit your initial post and add temporary admin and ftp details? I would like to do some debugging with the plugin to see if this is a bug or something else.
Which search phrases do not work? Could you please tell a few, and possibly some of the expected results? I will try those then.
Ernest Marcinko
KeymasterHi!
I just double checked and it worked for me without issue for both engines you have on that page.
This is what I did:
1. Typed in “operation” on your main page search, clicked the magnifier. It took me to the advanced search results page. So far so good.
2. Then I deselected content and excerpt on the left search and typed in “operation” again: http://i.imgur.com/L8ai5IR.png
3. I got 3 results: http://i.imgur.com/Q0raY7m.pngAm I missing something?
I don’t think I understand the issue with the $ symbol. Could you please perhaps make a screenshot of the problem? I don’t know where to look for it or where it should appear, I think I just don’t understand, I’m sorry.
Ernest Marcinko
KeymasterHi!
The best solution would be to completely disable that foundation script, it looks very agressive to me, but I might be wrong.
Try to remove the javascript I gave you and try this CSS instead:
[html]
.searchsettings span.checked + label:after {
opacity: 1 !important;
}
[/html]This should not lag at all, but I’m not sure if it works. Let me know, and I will integrate it to the next version.
Ernest Marcinko
KeymasterHi!
If you have Advanced Ajax Page Loader settings activated, deactivate all of them, and it should work.
General Options -> Advanced Ajax Page Loader tab.
Ernest Marcinko
KeymasterHi!
Thank you for the detailed ticket. I think I have figured it out: the slick and slide div cannot handle the rtl direction, so it needs to force the ltr instead and it will work. Put the following CSS code to the Custom CSS field on the plugins Theme Options panel (http://i.imgur.com/kU3C89A.png):
[html]
.rpp_slick {
direction: ltr;
}
[/html]Ernest Marcinko
KeymasterYes. I see you are using the ACF plugin. In this case I think you need the extended version of the function, because you are not in the main loop
so instead of:
[php]
get_field(‘fieldname’)
[/php]use the:
[php]
get_field(‘fieldname’, $pageposts[$k]->id)
[/php]it might work.
Ernest Marcinko
KeymasterAs I said before it’s just a guidance.
It changes nothing, but you can check the XHR request with your browser developer tools, where besides the regular request you will see the dumped structure of the $pageposts variable.
If you want to change the results, you need to change the content of the $pageposts variable, but before you can do that, you need to understand what’s in there, that’s why I suggested that function.
I highly recommend reading about filters and actions first before you proceed: http://codex.wordpress.org/Plugin_API
I don’t know what you are trying to achieve exactly, so that’s why I suggested the guidelines.
Ernest Marcinko
KeymasterHi Adam!
The plugin uses an entirely different method to parse results than the built in queries. I do not recommend modifying the code, as you will loose the changes if you upgrade the plugin.
There are however filters and actions available, that you can use to customize the results or add/remove new ones.
Here is a knowledgebase article about adding category titles to the result titles: https://wp-dreams.com/knowledge-base/showing-the-category-titles-in-the-result-title/
It’s a good starting point to understand how the results structure looks like.Based on the example above you can replace the ‘asp_add_category_titles’ function body with something like:
[php]
function asp_add_category_titles( $pageposts ) {
var_dump($pageposts);
return $pageposts;
}
[/php]
..and then examining the xhr/ajax request you will see the structure of the $pageposts variable, which is an array of objects, where the objects are the results.Another example: https://wp-dreams.com/knowledge-base/showing-the-post-type-name-in-post-title/
The full action and filter list is available in the plugins main directory in the actions.txt and filters.txt files.
So using this filter you can do whatever you want with the result list. It requires a bit PHP knowledge though.
Ernest Marcinko
KeymasterHi!
I just checked your site with iPhone5 and iPad and it worked for me: http://i.imgur.com/C2pbG1q.png
Also tried to simulated multiple widths and multiple devices, but all of them worked for me. On what mobile device is it now showing? Could you send me a screenshot of the issue?
Ernest Marcinko
KeymasterHi!
Yes, there is a newer version available, it was updated just Yesterday 😉
You can download the updated files from codecanyon. Please follow the update steps in the documentation for the safe update.
I will then revise this ticket, the update might solve some of the issues.
Ernest Marcinko
KeymasterCould you link me to a page where the search is visible? It might be only a stylesheet issue 😉
Ernest Marcinko
KeymasterHi!
Plugin version 3.5 just got accepted on codecanyon. May I ask you to upgrade it? If you download the plugin again, you should now get the newer version. It might solve the issue with the random results, as I thing I might know what have caused it.
There is a guide in the documentation on how to safely upgrade (1. chapter).
Don’t delete the current version installer, in case it won’t work or something 😉
I need to get some sleep, I will get back to you tomorrow morning. Let me know if the new version fixed anything.
Ernest Marcinko
KeymasterYou can edit your first post, or you can attach a text file with private details. It will be visible only to me and you.
I understand, but I can’t seem to reproduce the issue on my local test servers. It works fine there, no weird results.
I need to see this somewhere to check the ajax requests, parameters, etc..
-
AuthorPosts