Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Problem with searching in custom post
- This topic has 24 replies, 2 voices, and was last updated 10 years, 6 months ago by
tim.
-
AuthorPosts
-
September 14, 2015 at 12:45 pm #5924
Ernest Marcinko
KeymasterHi!
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.
September 14, 2015 at 12:57 pm #5925tim
ParticipantHi
In attachment you can find the FTP access.
Tim
September 14, 2015 at 1:38 pm #5927Ernest Marcinko
KeymasterThanks!
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 🙂
September 14, 2015 at 1:45 pm #5928tim
ParticipantHi!
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 #5931Ernest Marcinko
KeymasterYou 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!
October 26, 2015 at 2:08 pm #6450tim
ParticipantHi 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
[code]<p>Deel van: <?php echo get_post_meta($post->ID, ‘deel_van’, true); ?> </p>[/code]Also important: the website has migrated to a new server. In attachment you can find the new information.
Thanks!
Tim
October 27, 2015 at 8:20 pm #6502tim
ParticipantHi 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 #6503Ernest Marcinko
KeymasterHi!
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: http://i.imgur.com/Y4r9oVu.png
If you turn it back on, it will start working again.
October 27, 2015 at 9:06 pm #6504tim
ParticipantHi
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 #6635tim
ParticipantHi 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.