• Join the Best Wordpress and Elementor Support forum

    Provide or get advice on everything Elementor and Wordpress, ask questions, gain confirmation or just become apart of a friendly, like minded community who love Wordpress and Elementor


    Join us!

filter loop by date

D

dirweb

New Member
good morning
i have elementor pro and elementor skin and i'm using on my website from about 1 week

I have small problem:
i create a loop with offert for some hotels and i made it using custom post type for section "hotel" and "offer" and advanced custom fields

I create custom fields called "valida_da" and "valida_fino" (valida_da is date of begin offer, valida_fino is date of end offer)

I add the loop in elementor using custom skin but now i see all the offer
I need to filter this offer and show only the active offer

For example if today is 20 febrary, i want see all the offer less or equal to current date, so if in "valida_fino" i have 21/02/2020 i want show this offer, but if i have 19/02/2020 i don't want show it

Is possible with elementor to filter for custom fields?
Thank you
Roberto
 
Koni Kodes

Koni Kodes

Member
I think so, yes. But that is not my area so I can't say how it would happen.

I would explore the Facebook Elementor Community to see if someone else has this question.

I would also look on youtube and search under Elementor Custom Fields. That should give you a good group of videos on how to use custom fields and date filters.
 
D

dirweb

New Member
I think so, yes. But that is not my area so I can't say how it would happen.

I would explore the Facebook Elementor Community to see if someone else has this question.

I would also look on youtube and search under Elementor Custom Fields. That should give you a good group of videos on how to use custom fields and date filters.
hi, thank you for your reply
I'm searching but i don't undestand if i need to customize the code or i can use some plugin.
Have you any idea?
Thank you
 

Latest Resources

Other Elementor Resources

elementor official

Still stuck? Ask the forum

Post your question with a screenshot and a link if you can, and a member will usually reply within a day. Free to join, no sales pitch.

Create a free account
Top