Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › I can order the resoults
This topic contains 28 replies, has 2 voices, and was last updated by Ernest Marcinko 2 years ago.
- AuthorPosts
- March 22, 2022 at 4:20 pm #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 wpSear 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 ) OKI 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 PublishedAnd on the AJAX never show any thing else that 3 old news
ThanksAttachments:
You must be logged in to view attached files.March 23, 2022 at 10:22 am #37269Hi,
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 :)
March 23, 2022 at 10:38 am #37276Sorry 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
???March 24, 2022 at 11:17 am #37291It lookls like the “zona” taxonomy was not indexed. I have selected that as well: https://i.imgur.com/0Vroc4g.png
Best,
That contained the location information like “san jose”. I can see a bit different results now, do you see items from negocios?
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 24, 2022 at 2:25 pm #37298Hi
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 firstAny way to show the post filter in a Horizontal way ? like That ?
Attachments:
You must be logged in to view attached files.March 24, 2022 at 2:32 pm #37300And also Show the filter only in the Results page as a option wi be great
I mean Horizontal not like that
thanksAttachments:
You must be logged in to view attached files.March 25, 2022 at 2:37 pm #37311You 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:
Best,.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; }
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 25, 2022 at 3:13 pm #37312Thnaks , Look great now and I think also works as I need
Could I have also the css for te ratio button ?
thanksMarch 25, 2022 at 3:17 pm #37313That 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 :)
April 7, 2022 at 5:31 pm #37447not Do not work
April 8, 2022 at 1:46 pm #37458Maybe I am looking at the wrong plugin revision.
Can you please try replacing the
Best,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.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 8, 2022 at 6:25 pm #37460great now looks great
with this now I can solve most of my problems …
ThanksAlso 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
thanksApril 10, 2022 at 10:01 am #37463Hi
I just realice that now all the ratio an check are horizontalI 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/April 11, 2022 at 2:07 pm #37471Well, that may need to be custom coded differently, maybe to use a custom CSS loader for the pages where you need the horizontal layout.
Best,
Maybe you can add the custom CSS via Elementor to the pages only, where you need it?
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.