Filter by YYYY and Search topic in filter

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Filter by YYYY and Search topic in filter

This topic contains 44 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 4 months, 3 weeks ago.

Viewing 15 posts - 1 through 15 (of 45 total)
  • Author
    Posts
  • #34912
    anguraj48
    anguraj48
    Participant

    We’re using a Filter here: http://dev.sightandlife.org/sal_magazines/ and upon choosing the filter preference, the result will display on http://dev.sightandlife.org/result/.

    Clarification:1

    We actually need to filter the result by publication year. This Publication year is actually the date published. We can give a year range also but if I’m using the custom field “year” then it is not picking from the Date published? How can to achieve this?

    Clarification:2

    Also in Filter, we need to have one text box (Label: Topic), and that need to search the post title or description but again if I’m using a custom field then it is not picking from all post titles. How to configure this?

    Awaiting your support.

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

    Hi,

    Thank you for the details!

    1. The problem with the date filter, that it only contains the year, not the month and the day. The datepicker UI script gets confused when the data is missing, and it basically resets to the initial value. I changed it back to the default format, that should work all right: https://i.imgur.com/ZVXLcIX.png

    2. Well, to search the title or the content you should use the search input instead of a custom field filter. The custom field filters are mean to filter the post custom field metadata. Post titles, contents and excerpts are not custom fields.
    For this to work, you should remove the topic filter, and turn the search input back on and select the title and the content for search only.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #34960
    anguraj48
    anguraj48
    Participant
    You cannot access this content.
    #34967
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Try importing this theme under here.
    It should be very close to that, you may need to adjust here and there.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #35161
    anguraj48
    anguraj48
    Participant
    You cannot access this content.
    #35164
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    The overlay is available for the compact box layout mode, when it is set to a fixed position: https://i.imgur.com/1SxwA6m.png
    Without the compact layout this is not possible, because the search field needs to be in a fixed position to properly apply the background.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #35233
    anguraj48
    anguraj48
    Participant
    You cannot access this content.
    #35256
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Raj,

    Probably the best layout for mobile – if you want a global search bar – is the compact box layout.
    It does not take up space, easily accessible.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #35287
    anguraj48
    anguraj48
    Participant
    You cannot access this content.
    #35299
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    1. By default, the plugin is configured to display 10 results on the live results list. You can change that here: https://i.imgur.com/n499NYU.png

    2. It is intentional behavior and I am afraid it is not possible to change without editing the core code.
    However we may change this in the upcoming release, as based on customer feedback you are not the first one to complain about this behaviour. It is very likely to be changed to “unchecked”, unless all the items are checked for the future release.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #35326
    anguraj48
    anguraj48
    Participant
    You cannot access this content.
    #35352
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    1. I assume you are trying to display attachments within an Elementor posts container? I’m afraid that is the problem then – Elementor simply does not allow that, it removes them and there is no way to get around it. This came up before, and there was no luck, we even tried contacting some of their developers, but we could not work out a solution.

    2. I’m afraid no, the grouping only works in the plugin results container, when using the vertical results layout.

    3. You have selected to use the index table engine, but on the index table settings only attachments are indexed and not the “post” and “page” custom post types. Whenever a search is triggered with a phrase, it will return nothing, as there is nothing in the index.

    4. I just checked that search instance (id=2), but it is still set to 10 items: https://i.imgur.com/XAu6Tya.png
    If you increase that number, it will surely increase the results count there.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #35427
    anguraj48
    anguraj48
    Participant
    You cannot access this content.
    #35432
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    1. It is the normal behaviour of the WordPress search bars. You can “override” that via using this custom code.

    2. If the values show up, they are present in the post meta database for sure. There must be a post revision or something still present, which kept these values.
    The only way is to not use the {get_values} feature, but enter them manually. In an upcoming release there will be an “exclude” parameter, which will allow excluding values from the fields.

    3. I tried a few phrases, by opening text based PDF files, but it seem to work okay on my end. I tried the phrase “MNDC” from this PDF, and it show up for me in the results: https://i.imgur.com/sWPHpgw.png
    It is possible of course, that some words might not get picked up, but it should get as much as possible.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #35449
    anguraj48
    anguraj48
    Participant
    You cannot access this content.
Viewing 15 posts - 1 through 15 (of 45 total)

You must be logged in to reply to this topic.