Forum
Using date as the slug
Hello,
I am using normal regions to display events and every event has a unique date. Some recurring events have the same title, so now I am using the title as a slug, but some events get output double. When trying to use the date as a slug, every slug is output as: 'ra-d41d-cd98', so it is not working for me. What could be the solution to this problem?
Thanks, Mike
The slug is created from individual form inputs, which for the date is either 3 or 5 select boxes. You should target them individually, e.g.
Ah right, I see. Using eventDateTime_month is outputting 12 for december so everything is right. Can I use multiple slugs in a row? So
eventDateTime_day
,eventDateTime_month
,eventDateTime_year
for example? Or even with the eventTitle in front of it.Yes, multiple IDs can be space-separated.
Yes! Thank you!