Home › Forums › Calendar Products › Community Events › single page – recurring events
- This topic has 8 replies, 3 voices, and was last updated 10 years, 1 month ago by
Support Droid.
-
AuthorPosts
-
February 21, 2016 at 7:00 am #1079234
Stefan
ParticipantHello,
my single-event-pages don`t work the way I expected.
This is such a page: http://www.dog-cooperation.at/event/junghunde-1/2016-02-21/The problem is that there is shown the next date of 8 recurring events.
But that doens`t make sense, because then the price is nonsense.
I also would like to disable the short informations in the big image.
So I attached a screenshot to explain the problem a bit better:
http://we.tl/90jVkhsTs4Is there a way to solve my problems?
Thank you very much!February 22, 2016 at 12:13 pm #1080115Josh
ParticipantHey Stefan,
Thanks for reaching out to us.
For the content on the image, it appears that this is a customization driven by your theme. Are you wanting to completely remove the content or move it to somewhere else.
Also, for each event within the recurring series, are you wanting all of the dates within the series to be included on each event?
Thanks!
February 22, 2016 at 2:24 pm #1080206Stefan
ParticipantHey Josh,
thanks for your help!
Yes I want to remove the content on the image, because the same information is already displayed in the sidebar of the single page. Do you know what I mean? It simply shouldn`t be displayed in the big image.
But the information “Serientermin für Veranstaltung (Alle anzeigen)” should completly disable.
There should be one event with 8 dates. And these 8 dates should be ONLY displayed in the first field in the sidebar like it is discribed on the screenshot.
Thanks!
February 24, 2016 at 9:21 am #1081537Josh
ParticipantHey Stefan,
I gotcha now on the overlay. I’m still seeing the 404 on your events page. Did you happen to change the slug or were you having other issues on the site here.
The simplest solution again for this particular element would be to target with CSS and hide the element using “display:none”. However, without being able to see the page I wouldn’t be able to give you an exact snippet here.
Thanks!
February 25, 2016 at 12:36 pm #1082150Stefan
ParticipantHey Josh!
Here is the link: http://www.dog-cooperation.at/fruehjahrskurse/
When you choose any event, you see I have hidden the text in the big Image.
So this is done!But is there ANY way to display ALL dates of a recurring event in this sidebar (like I marked on the screenshot I`ve sent you)??
Thank you!
March 1, 2016 at 6:58 am #1083814Josh
ParticipantHey Stefan,
Awesome! I’m glad the other information worked for you there.
When a recurring event is created, the main event is created and the other events in the series are created as children of that main event. So, to get the dates, you could run a new WP_Query where you would like within the template and use “post_parent” argument when creating the arguments for the query and setting that value as the main event for the series.
You can then use “tribe_get_start_date” within the loop for that query to list the dates.
Thanks!
March 7, 2016 at 7:15 am #1085819Stefan
ParticipantHey Josh,
thank you for your reply.
This sounds great but I have no idea what I should do with this information.
I have no experience with editing oder adding php/query/or anything else.
Could you describe me where I should add or delet which code?Thank you for your support!
March 9, 2016 at 6:28 am #1086627Josh
ParticipantHey Stefan,
You can follow the themer’s guide to copy the main single event template into your theme and add the following wherever you’d like the list to display.
https://gist.github.com/BeardedGinger/3aae9fd4712eb582fc58
This particular snippet is designed to get the information you need for the list. You’ll need to set the information to display how you would like.
Thanks!
March 24, 2016 at 9:35 am #1093453Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘single page – recurring events’ is closed to new replies.
