Home › Forums › Calendar Products › Events Calendar PRO › Switch Ticket and Location
- This topic has 7 replies, 2 voices, and was last updated 7 years, 9 months ago by
Henning.
-
AuthorPosts
-
June 9, 2018 at 3:51 am #1549876
Henning
ParticipantI need to switch the “Tickets” and “Veranstaltungsort” (location) in the theme…
Tried single-events.php but didn’t succeed 🙁
Where can I switch those two?!-- Event Meta --> <?php do_action( 'tribe_events_before_the_meta' ) ?> <?php if ( tribe_get_cost() ) : ?> <div class="tribe-events-event-cost"> <span class="ticket-cost"><?php echo tribe_get_cost( null, true ); ?></span> <?php /** This action is documented in the-events-calendar/src/views/list/single-event.php */ do_action( 'tribe_events_inside_cost' ) ?> </div> <?php endif; ?> <div class="tribe-events-event-meta <?php echo esc_attr( $has_venue . $has_venue_address ); ?>"> <!-- Schedule & Recurrence Details --> <div class="tribe-updated published time-details"> <?php echo tribe_events_event_schedule_details(); ?> </div> <?php if ( $venue_details ) : ?> <!-- Venue Display Info --> <div class="tribe-events-venue-details"> <?php $address_delimiter = empty( $venue_address ) ? ' ' : ', '; // These details are already escaped in various ways earlier in the code. echo implode( $address_delimiter, $venue_details ); ?> </div> <!-- .tribe-events-venue-details --> <?php endif; ?> </div><!-- .tribe-events-event-meta -->June 12, 2018 at 5:44 am #1551377Jeremy
KeymasterHi Henning,
Thanks for reaching out to us! I’d be happy to help you 🙂
In order to do so, could you send me a screenshot so I could understand the situation a little bit better?
Cheers,
JeremyJune 12, 2018 at 2:10 pm #1551871Henning
ParticipantDear Jeremy, enclosed you’ll find the requested screenshots 🙂
June 13, 2018 at 6:28 am #1552235Jeremy
KeymasterHi Henning,
To do this modification, you actually need to edit the meta.php file, located in wp-content/plugins/the-events-calendar/src/views/modules/meta.php
You can override this template in your own theme by creating a file at: [your-theme]/tribe-events/modules/meta.php
I hope this helps,
Cheers,
JeremyJune 19, 2018 at 7:50 am #1556156Henning
ParticipantDear Jeremy, I’ve tried and tried and… well tried… I didn’t find a way to get the “Ticket”-block in between the the details and the map.
In the meta.php there is the primary section and the secondary, not the ticket-section?Can you please show me what to do?
June 20, 2018 at 12:36 am #1556820Jeremy
KeymasterDear Henning,
There is actually an easier way to change the location of the ticket form on the single event page: you can find an option for this under Events –> Settings –> Tickets (cf this article on our Knowledgebase).
Does this help?
Please let me know how it goes,
Cheers,
JeremyJune 20, 2018 at 1:46 am #1556856Henning
ParticipantOk, way easier but still not the position as my client requests… Please check my screenshots again. That is the position my client asks for.
June 21, 2018 at 12:44 am #1557938Jeremy
KeymasterHi Henning,
Indeed, the options to move the ticket form via the settings are limited. However, you could probably tweak it to do exactly what you are looking for.
Just to set expectations, as you might know, the scope of our support is mostly to get our customers started on the right track and to help them in case of issues. We unfortunately do not provide complete support for customization.
You might want to read our Themer’s guide as a starting point.
As an alternative you could hire one of our recommended customizers to do the customization for you.
Let me know if that helps.
Have a great day!
JeremyJuly 13, 2018 at 9:35 am #1574712Support Droid
KeymasterHey 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 ‘Switch Ticket and Location’ is closed to new replies.
