Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Problem with searching in custom post
This topic contains 24 replies, has 2 voices, and was last updated by tim 8 years ago.
- AuthorPosts
- September 14, 2015 at 12:45 pm #5924
Hi!
I don’t think I’m able to tell what the problem is without FTP access. I see there are term and custom field filters as well, where a little misconfiguration can cause problems. All in all it adds up to a very complex query which I can only debug with file access.
There is also a chance of a yet unknown bug, but I will be able to tell once I get to debug the search 🙂
You can add temporary FTP access if you edit the first post in this thread, or upload it in a .txt file. Both methods are safe, and only visible to me and you.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 14, 2015 at 12:57 pm #5925Hi
In attachment you can find the FTP access.
Tim
Attachments:
You must be logged in to view attached files.September 14, 2015 at 1:38 pm #5927Thanks!
I have found the problem. The “Category/Term logic” logic option was set to “OR” on the General Options -> Behavior panel. It resulted in only counting posts that are in both categories, whereas there is 0 of them. I’ve changed back that option to the default “AND” value, now it’s working again 🙂
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 14, 2015 at 1:45 pm #5928Hi!
Thanks for the great support! Strange it worked before, I probably changed that somehow…
Where can I make a donation?
Regards,
Tim
September 14, 2015 at 1:52 pm #5931You are welcome, I’m happy it’s working now.
Feel free to contact me if you have any other issues.The support is for free of course, but any donation is greatly appreciated, my paypal email is: [email protected]
If you want, you can rate the plugin as well on your codecanyon downloads page: http://codecanyon.net/downloads
Thank you very much and have a nice day!
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
October 26, 2015 at 2:08 pm #6450Hi Ernest
The website is live now. But I still have a couple of things I’m working on:
– When I search for an exact title, sometimes I doesn’t pop up in the results. For example: “Modern ship stowage”, shows no result, even this specific publication: http://catbibjugt.be/publicatie/modern-ship-stowage/ with the exact title. I also get no results for “stowage”. I’ve already re-indexed.
– There is a custom field that says ‘I’m an part of another publication’ (like a volume): “Deel van”. But in viewing a single publication in front end; there only displayed “array”. For example: catbibjugt.be/publicatie/koop-en-verkoop-van-onroerende-goederen-modellen-en-commentaar-2/
Any ideas how I can fix this?
The code I used for this in single-publicatie.php is<p>Deel van: <?php echo get_post_meta($post->ID, 'deel_van', true); ?> </p>
Also important: the website has migrated to a new server. In attachment you can find the new information.
Thanks!
Tim
Attachments:
You must be logged in to view attached files.October 27, 2015 at 8:20 pm #6502Hi Ernest
I just found what was the problem with not finding all the publications. This was because those publications has no “jaartal” (year of publish). Because I filter on “jaartal” (between 1600 and 2050), those records didn’t show up.
I just have the problem that the slider isn’t working any more (in advanced search). Any ideas about that?
Regards,
Tim
October 27, 2015 at 8:32 pm #6503Hi!
Yes, if the custom field is not set, the post is filtered out – that explains the situation 🙂
I’m guessing that the NoUI slider script is disabled on the Compatibility Settings submenu: https://i.imgur.com/Y4r9oVu.png
If you turn it back on, it will start working again.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
October 27, 2015 at 9:06 pm #6504Hi
Apparently the problem was not the NoUI slider, but the JavaScript source, that had to be set to minified in stead of Minified Scoped.
Best
Tim
November 15, 2015 at 8:24 pm #6635Hi Ernest
Any ideas about my second problem?
There is a custom field that says ‘I’m an part of another publication’ (like a volume): “Deel van”. But in viewing a single publication in front end; there is only displayed “array”. For example: catbibjugt.be/publicatie/koop-en-verkoop-van-onroerende-goederen-modellen-en-commentaar-2/
Any ideas how I can fix this?Thanks!
Tim
- AuthorPosts
You must be logged in to reply to this topic.