Joshua

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Add "website" link to the loop listing page #1096991
    Joshua
    Participant

    Worked through the last item listed here for including the loop/archive display
    This case being within – [your-theme]/tribe-events/pro/map/single_event.php

    Added the website call, in this case we are using it as a “registration” link which was added as a way to quickly register for events. Code below:

    $website = tribe_get_event_website_link();

    <!-- Website button -->
        <?php
    	// Event Website
    	if ( ! empty( $website ) ) : ?>
    		<div class="register-btn"><?php echo $website; ?></div>
    	<?php endif ?>

    Hope that helps any wayward souls, like me, when making these theme updates!

    in reply to: Add "website" link to the loop listing page #1096909
    Joshua
    Participant

    Alright I have made updates and see where my issue was… I’m using the pro version and was in the incorrect folder structure! Bone-head move on my part to be using list/single-event.php and not the pro/map/single-event.php file.

    I’m still open to any guidance in getting the website link to display on the loop listing (for map and other views), if there is one entered via the meta data in the CMS.

Viewing 2 posts - 1 through 2 (of 2 total)