I can order the resoults

This topic contains 28 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 2 years ago.

Viewing 14 posts - 16 through 29 (of 29 total)
  • Author
    Posts
  • #37259

    I don’t think did you understand

    I have this CPT and I want then to apear on this order …
    Sala – Discos, clubs, Bars – CPT
    Lugares – Museun, turistic place, village, CPT
    Playas – beaches CPT
    Restaurantes – CPT
    Negocios – Business -CPT
    Post , News – native wp

    Sear for PACHA ( it the name of club )
    Results give
    PACHA IBIZA (Sala cpt) nº1 OK
    Rest o restaurants and Hotels from Pacha Brand OK
    News from pacha ( the lates news ) OK

    I need this order because if some one search for the name of any Restaurant or Hotel, or sala .. first will be the place and then the news bout the place …

    BUT iF
    Search For SAN JOSE ( name of a area in Ibiza , also the name of a Village )
    First show all the LUGARES in SAN JOSE Area .. including the Village call San Jose OK
    Second all the beaches in San Jose area ok
    Page 3 -8 .. Restaurants in San Jose ok
    NOT NEGOCIOS ARE SHOW .. WHY ???
    Page 8 star the first NEWS posts
    https://welcometoibiza.com/agenda-ibiza/noticias/san-jose-otorga-ayudas-al-alquiler-de-hasta-2500-euros/ From 1-2022 NOT THE LAST ONE Published

    And on the AJAX never show any thing else that 3 old news
    Thanks

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

    Hi,

    I understand – the reason is still the option I mentioned previously. The plugin will prefer that post type order – and if there are more relevant matches from the preceeding groups, then those are shown.

    You maybe want to look into enabling this one: https://i.imgur.com/80kpwjv.png

    With that, the plugin will try to divide the results between each post type group equally. In your case, you have 7 post types selected, and 100 items to show overall. It will display then 100/7 ~= 14 items from each group. It will make sure to display matches from every post type group.

    Best,
    Ernest Marcinko

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


    #37276

    Sorry but you don’t get it …

    By now iits ok I need it like that

    BUT ON SAN JOSE SERACH
    WHY NOT SOWING NEGOCIOS ???
    WHY THE NEWS (post) are old post
    ???

    #37291
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    It lookls like the “zona” taxonomy was not indexed. I have selected that as well: https://i.imgur.com/0Vroc4g.png
    That contained the location information like “san jose”. I can see a bit different results now, do you see items from negocios?

    Best,
    Ernest Marcinko

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


    #37298

    Hi
    Did you change any thing else ? I NEED THE ORDERING ON , trim it on and now look ok ::
    Now with the order on Show negocios an New post first

    Any way to show the post filter in a Horizontal way ? like That ?

    Attachments:
    You must be logged in to view attached files.
    #37300

    And also Show the filter only in the Results page as a option wi be great

    I mean Horizontal not like that
    thanks

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

    You can use the filter on the results page only via adding the settings shortcode to the results page only, and turning off the settings visibility by default.

    For the horizontal view, you can try this custom CSS:

    .asp_ss form[name=options] {
        display: flex !important;
    }
    .asp_ss form[name=options]>fieldset {
        max-width: 10000px !important;
        min-width: 100% !important;
    }
    
    .asp_ss form[name=options]>fieldset .asp_simplebar-content {
        display: flex !important;
        flex-wrap: wrap;
    }
    
    .asp_ss form[name=options]>fieldset .asp_option {
        margin-left: 0 !important;
    }
    
    .asp_ss form[name=options]>fieldset .asp_option_label {
        white-space: nowrap;
    }
    Best,
    Ernest Marcinko

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


    #37312

    Thnaks , Look great now and I think also works as I need

    Could I have also the css for te ratio button ?
    thanks

    #37313
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    That CSS should very likely work with the radio buttons as well.

    Best,
    Ernest Marcinko

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


    #37447

    not Do not work

    #37458
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Maybe I am looking at the wrong plugin revision.

    Can you please try replacing the wp-content/plugins/ajax-search-pro/includes/views/filters/post_type/asp-post-type-radio.php file contents on your server with this.
    This is a newer revision, I almost sure the custom CSS will work with this.

    Best,
    Ernest Marcinko

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


    #37460

    great now looks great
    with this now I can solve most of my problems …
    Thanks

    Also any way to not use the Ajax result ??’ there don’t show my relevant .. If I could search just the the user click on search for my will be great
    thanks

    #37463

    Hi
    I just realice that now all the ratio an check are horizontal

    I need to choose when its show in horizontal o vertical

    In here have to be vertical because there is column

    https://welcometoibiza.com/guia-ibiza/
    https://welcometoibiza.com/restaurantes-ibiza/
    https://welcometoibiza.com/descubre-ibiza/
    https://welcometoibiza.com/playas-y-calas/

    #37471
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Well, that may need to be custom coded differently, maybe to use a custom CSS loader for the pages where you need the horizontal layout.
    Maybe you can add the custom CSS via Elementor to the pages only, where you need it?

    Best,
    Ernest Marcinko

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


Viewing 14 posts - 16 through 29 (of 29 total)

You must be logged in to reply to this topic.