unav4ila8le
Forum Replies Created
-
I am getting a very similar error when using dynamic links.
Warning : Illegal string offset 'url' in /home/customer/www/meaovum.com/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php on line 1159
Hi thank you all for the help. It looks like the problem it’s solved now.
Should happen again I will let you know.Thanks again for the support.
Hi, I just checked and the email is the same.
I woke up this morning with 450 new emails. Please help.
Thank you for your reply.
Yes, it is continuing. The last mail I got was 11 minutes ago.
Hi Shabti,
thank you so much! It is working perfectly now.
I’ll be patiently waiting for the PRO version!
In the meantime, I will be opening another topic since I am facing another issue regarding taxonomy input from the front end and I do not want to make the discussion longer here.Thank you again for your help, hope this will help other users, super appreciated.
Leonardo.
Hi Shabti,
I tried what you suggested. I copied and pasted your latest code, and I alse changed the return format to Ymd in the ACF field options. It did make sense actually cause the return format was set to a totally different format.
However I still can’t see any difference. The post widget it’s still showing all the events, even if I set the Query ID to hide_past_events_filter
An I am using just a JQuery Date Picker, not a DateTime Picker.
Yes, I did.
Here is how my code looks:
add_action( ‘elementor/query/hide_past_events_filter’, function( $query ) { //Get the current date $today = date(‘Ymd’); // Get current meta Query $meta_query = $query->get( ‘meta_query’ ); // Append our meta query $meta_query[] = [ ‘key’ => ‘end_date’, //replace this with your ACF field name ‘compare’ => ‘>=’, ‘value’ => $today, ]; $query->set( ‘meta_query’, $meta_query ); } );
Hi Shabti, thank you so much for your effort in helping me, truly appreciated.
I tried what you said; I have copied the snippet and pasted it in my child theme functions.php
I have changed the filter name to hide_past_events_filter
I have set “end_date” as my ACF field name, since that is my event’s end date and I want the event to expire on that date.
I have then copied hide_past_events_filter and pasted it in the “Query ID” field in my posts elementor widget. However I am still able to see all the events, also the expired ones, and the filter seems to knot work.
Do you have any idea on why this is not currently working? Am I forgetting something?
Thank you again for your support.