How to split Venue details ?

Home Forums Calendar Products Events Calendar PRO How to split Venue details ?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #994354
    Xavier
    Participant

    Hello,

    Currently, the venue details of a single event in the List view are merged and listed next to each other (Venue name + street name + city + postal code + country + google map link).

    Instead of this, I need to split this to have each information on a separate line to display it this way :

    • Venue name
    • Street name
    • Postal code + City
    • Google Map link

    Therefore, based on what’s explained on Themer’s Guide, I wanted to bring changes to the-events-calendar\src\views\list\single-event.php.

    The problem is that this whole information is stored in one function as shown here below :

    
    		<?php if ( $venue_details ) : ?>
    			<!-- Venue Display Info -->
    			<div class="tribe-events-venue-details">
    				<?php echo implode( ', ', $venue_details ); ?>
    			</div> <!-- .tribe-events-venue-details -->
    		<?php endif; ?>
    

    Can you explain me how to split the venue details please ?

    Thank you.

    #994392
    Brian
    Member

    Hi,

    Thanks for using our plugins. I can help out here.

    What about using the functions from the single-event template to display the information how you like?

    The address is broken up into more pieces in this file:

    the-events-calendar\src\views\modules\address.php

    Let me know if that helps.

    Thanks

    #994407
    Xavier
    Participant

    Thanks Brian !

    #994560
    Brian
    Member

    Great glad it helps.

    I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to split Venue details ?’ is closed to new replies.