Problem with searching in custom post

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 tim 8 years ago.

Viewing 10 posts - 16 through 25 (of 25 total)
  • Author
    Posts
  • #5924
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    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 :)


    #5925
    tim
    tim
    Participant

    Hi

    In attachment you can find the FTP access.

    Tim

    Attachments:
    You must be logged in to view attached files.
    #5927
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Thanks!

    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 :)


    #5928
    tim
    tim
    Participant

    Hi!

    Thanks for the great support! Strange it worked before, I probably changed that somehow…

    Where can I make a donation?

    Regards,

    Tim

    #5931
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    You 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 :)


    #6450
    tim
    tim
    Participant

    Hi 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.
    #6502
    tim
    tim
    Participant

    Hi 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

    #6503
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    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 :)


    #6504
    tim
    tim
    Participant

    Hi

    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

    #6635
    tim
    tim
    Participant

    Hi 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

Viewing 10 posts - 16 through 25 (of 25 total)

You must be logged in to reply to this topic.