Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Default Events Template
- * This file is the basic wrapper template for all the views if 'Default Events Template'
- * is selected in Events -> Settings -> Template -> Events Template.
- *
- * Override this template in your own theme by creating a file at [your-theme]/tribe-events/default-template.php
- *
- * @package TribeEventsCalendar
- *
- */
- if ( ! defined( 'ABSPATH' ) ) {
- die( '-1' );
- }
- get_header();
- wpm_header(); // wpm_header_hook
- wpm_page_header(); // wpm_page_header_hook
- ?>
- <div id="tribe-events-pg-template">
- <div id="wascc-competitors">
- <div class="wascc-section-title">Competitors & Official</div>
- <div id="wascc-competitors-section-left">
- <ul class="wascc-grey">
- <li><a href="<?php echo get_post_meta($post->ID, 'competitors_entry_form', $single); ?>">Entry Form</a></li>
- <li><a href="<?php echo get_post_meta($post->ID, 'competitors_regulations', $single); ?>">Regulations</a></li>
- <li><a href="<?php echo get_post_meta($post->ID, 'competitors_timetable', $single); ?>">Timetable</a></li>
- <li><a href="<?php echo get_post_meta($post->ID, 'competitors_pit_bay_allocations', $single); ?>">Pit Bay Allocations</a></li>
- <li><a href="<?php echo get_post_meta($post->ID, 'competitors_bulletins', $single); ?>">Bulletins</a></li>
- </ul>
- </div>
- <div id="wascc-competitors-section-right">
- <div id="wascc-competitors-photo">
- <img src="<?php echo get_post_meta($post->ID, 'competitors_display_photo', $single); ?>" alt="<?php the_title(); ?>" title="<?php the_title(); ?>" />
- </div>
- </div>
- </div>
- <div id="wascc-spectators">
- <div class="wascc-section-title">Spectators</div>
- <div id="wascc-spectators-section-left">
- <ul class="wascc-grey">
- <li><a href="<?php echo get_post_meta($post->ID, 'spectators_timetable', $single); ?>">Timetable</a></li>
- <li><a href="<?php echo get_post_meta($post->ID, 'spectators_maps_location', $single); ?>">Maps & Location</a></li>
- <li><a href="<?php echo get_post_meta($post->ID, 'spectators_contact_info', $single); ?>">Contact Info</a></li>
- <li><a href="<?php echo get_post_meta($post->ID, 'spectators_annual_program', $single); ?>">Annual Program</a></li>
- <li><a href="<?php echo get_post_meta($post->ID, 'spectators_buy_tickets_url', $single); ?>" class="ticket">Buy Tickets</a></li>
- </ul>
- <div id="wascc-entree-fee-label">Gate Entry Fee</li></div>
- <div id="wascc-entree-fee-costs">
- <ul>
- <li>$30.00</li>
- <li>$12.00</li>
- <li>$22.00</li>
- <li>$70.00</li>
- </ul>
- </div>
- </div>
- <div id="wascc-spectators-section-right">
- <div id="wascc-event-poster-thumb">
- <a href="<?php echo get_post_meta($post->ID, 'spectators_event_poster_url', $single); ?>" target="_blank"><img src="<?php echo get_post_meta($post->ID, 'spectators_event_poster_url', $single); ?>" alt="<?php the_title(); ?> event poster" title="<?php the_title(); ?> event poster" /></a>
- </div>
- </div>
- </div>
- <div class="clear"></div>
- <?php tribe_events_before_html(); ?>
- <?php tribe_get_view(); ?>
- <?php tribe_events_after_html(); ?>
- </div> <!-- #tribe-events-pg-template -->
- <?php
- //wpm_page_right(); //wpm_page_right_hook
- wpm_footer();
- get_footer();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement