Patte
Forum Replies Created
-
Forum: Plugins
In reply to: [Simplelightbox] captionSelector: + figcaption, error when missing (null)Supercool, thanks for your help!
Now I can use Simplelightbox without restrictions – really great!Forum: Plugins
In reply to: [ACF RRule Field] Example for custom WP_Query, some problems withAwesome that you took the time to do this. Unfortunately, I will not get to test this until next week because of my vacation.
Forum: Plugins
In reply to: [ACF RRule Field] Example for custom WP_Query, some problems withThanks for the clarification, then I understand the whole thing a little better now 😉 The Internet forgets nothing – and Google had brought me there on the wrong track. No problem.
Since I want to list every instance of the repeating event – doesn’t the meta_query have to run better over date than over the start_date?
After all, the new post meta ‘start_date’ is only present once – but my event repeats twice in my example, which shows up in the rrule array.
[date] => 2023-05-11 [date] => 2023-05-12How do I get each of these [date] values into the post meta to run the meta_query after that key?
After all, I want to display each of the dates. Or am I still not understanding something here…. ?
Thanks again for your help!
Array ( [rrule] => FREQ=DAILY;COUNT=2;DTSTART=20230511T000000;INTERVAL=1 [start_date] => 20230511 [start_time] => 00:00:00 [frequency] => DAILY [interval] => 1 [weekdays] => Array ( ) [monthdays] => Array ( ) [months] => Array ( ) [monthly_by] => monthdays [bysetpos] => Array ( ) [byweekday] => Array ( ) [end_type] => count [end_date] => 20230512 [occurrence_count] => 2 [dates_collection] => Array ( [0] => DateTime Object ( [date] => 2023-05-11 00:00:00.000000 [timezone_type] => 3 [timezone] => UTC ) [1] => DateTime Object ( [date] => 2023-05-12 00:00:00.000000 [timezone_type] => 3 [timezone] => UTC ) ) [text] => täglich 2 Mal )Forum: Plugins
In reply to: [ACF RRule Field] Example for custom WP_Query, some problems withHi Marc,
very nice of you to take the time to answer my question.
For my example. I have a custom post type ‘events’ and use ACF RRule Field to assign multiple (recurring) days to an event.
So I thought your WP_Query example I posted above would do just that. In one of your posts I understood that ACF RRule Field automatically sets start_date and end_date. Or not?
Do you perhaps have a specific example that could help me here?
- This reply was modified 3 years ago by Patte.
Forum: Plugins
In reply to: [SearchWP Live Ajax Search] script.min.js only on relevant pagesHey Elio,
works perfect – thanks for the great support!
Patrick
Forum: Plugins
In reply to: [SearchWP Live Ajax Search] script.min.js only on relevant pagesHey Elio,
thanks much for your help! Works like a charm.
Is there also a way to disable those inline scripts? I would use them only on specific pages.
Thanks again!
Patrick
Forum: Plugins
In reply to: [Cache Enabler] regex matching page paths?Ah, and
/registration/registration*
😉Forum: Plugins
In reply to: [Cache Enabler] regex matching page paths?Hey Corey,
I am struggeling with another regular expression to exclude a path that contains or begins with “registration”.In addition to the above
/login/
/contact/
/client-section/*I would like to add
*registration* (just a string within the path) or
/registration* (a page slug that beginis with “registration”)Thanks for your help!
This is not a single page but multiple registration pages with different slugs.
Forum: Plugins
In reply to: [Cache Enabler] regex matching page paths?Hey Corey,
very nice, thank you very much!
This is exactly what I was looking for!