Home › Forums › Ticket Products › Event Tickets Plus › Display RSVP Information / Ticket Cost in Photo View Grid?
- This topic has 6 replies, 2 voices, and was last updated 6 years, 2 months ago by developer.
-
AuthorPosts
-
January 22, 2018 at 8:33 am #1432413developerParticipant
Dear Team,
i want to use the part with RSVP-information in the photo View of Events:
`<div class="tribe-events-event-cost"> <span class="ticket-cost"></span> </div>
`
I created a template in my child-theme und pasted this part of code. but nothing happens.
Is there a way to geht RSPVs displayed in photo view not only in list view?
Thanks in advance, Melanie
January 22, 2018 at 10:38 am #1432576CourtneyMemberHey there
At this time, the RSVP/Buy Now buttons appear only in List View and on single events. If you think that is something you would like as a feature I encourage you to visit our User Voice Page and either upvote an existing request or make a new request there.
You can suggest it it http://tribe.uservoice.com.
If you are up for the task, you could customize this yourself with some PHP. See our Themer’s Guide to get started or hire a developer at Find A Customizer. Calling for this will take more than CSS code to achieve it.
Is there anything else I can help you with?
Thanks
Courtney 🙂January 23, 2018 at 12:00 am #1433221developerParticipantDear Courtney,
thank you for your answer.
This part of Code you see in the screenshot
i see in this code inthe-events-calendar/src/views/list/single-event.php
and I copied it in
my-child-theme/tribe-events/pro/photo/single-event.php
But nothing happens. Can you give me an hint what might be wrong?
Thanks in advance, MelanieJanuary 23, 2018 at 12:05 am #1433232developerParticipantHere is the screenshot of the relevant part of the code. Unfortunately I cannot paste it in this field.
January 24, 2018 at 11:08 am #1434958CourtneyMemberHi there Melanie
add_action( 'tribe_events_after_the_event_title', function() { if ( function_exists( 'tribe_is_photo' ) && function_exists( 'tribe_tickets_buy_button') && tribe_is_photo() ) { tribe_tickets_buy_button(); } } );
Give that a try and see how it works.
Thanks
Courtney 🙂February 15, 2018 at 8:36 am #1454319Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Display RSVP Information / Ticket Cost in Photo View Grid?’ is closed to new replies.