Forums › Forums › Search & Filter Pro › Issue to sort with custom archive template in Elementor Pro
Tagged: acf, cpt, custom archive template in Elementor Pro
- This topic has 22 replies, 3 voices, and was last updated 5 years, 5 months ago by Ross.
-
Anonymous(Private) June 18, 2019 at 6:20 pm #214396
This is a real estate website. Posts are properties, divided in 2 main categories (rent and sale).They change often but they are not very numerous (30 to rent and 16 to rent at this moment).
The website has two archives pages (rent and sale). I’m doing the test on the Rent archives page.The agency owner does himself all the daily content updates (delete, add the properties, change manually the order in APTO). So he needs a simple system and can’t waste time with to many settings.
About two times a week, he makes few changes in PTO order to promote a new property or according to ads he bought on specialized website.APTO can use conditions to apply its order (https://www.nsp-code.com/advanced-post-types-order-description-and-usage/using-conditionals-for-sorting-apply/). I tried to use it but I’m not able to. See screenshot (https://www.nicolas-devillard.fr/ndiv2/wp-content/uploads/2019/06/screenshot.png)
It is also possible to create its own conditional filter with php (https://www.nsp-code.com/advanced-post-types-order-api/filter-create-a-new-sort-conditional/)
Could this help?Another thing.
I succeeded to sort prices with a special setting in S&F. All the Rent properties have also a child category (furnished rental or unfurnished rental). So I didn’t applied the prices sort to the main category but to the 2 child categories using the including setting (https://www.nicolas-devillard.fr/ndiv2/wp-content/uploads/2019/06/screenshot2.png).
But then, while PTO is set to order the main category Rent, the default order displayed on the Rent archive page is the WordPress default (by date).
It seems S&F override APTO… Maybe this can be manage?Sorry for this long explanations, but if it can help.
Best regards,David
Anonymous(Private) June 19, 2019 at 1:50 pm #214471Thanks Trevor. That’s kind of you to propose this.
I know screen sharing with Skype. My Skype is daviddevillard
I’m working with a Mac and Safari. But I can use Firefox or Chrome.I’m french, from Bordeaux, so we have 1 hour difference. I’ll be free after 3pm (in UK) so I’ll sent you a message a this time.
Ross Moderator(Private) June 27, 2019 at 11:06 pm #215178Hi David
Right now, I’m not entirely sure how to integrate the two.
I assume they make modifications to the query that are not quite working when we join the two.
However, WordPress does have a way to order posts (you can do this with pages, you get an
order
field), so if that plugin leverages this feature, then it could work.In this case, change the default order to
menu order
which will respect this order value:I hope that helps / works!
Thanks
Anonymous(Private) July 1, 2019 at 7:12 pm #215379Hi Ross,
I need to change my manual order 1 or 2 times a week for 30 or 40 posts. I can’t change the number in the order field for each. Too long and complicate when APTO works with simple Drag&Drop.I have just contacted APTO support to ask for help.
David
-
AuthorPosts