Byron

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: No Google Map in Calendar Events in Custom Theme #1088400
    Byron
    Participant

    This is where the file is located:
    theme root/tribe-events/list/single-event

    Do you mean this?
    <!– Event meta –>
    <?php do_action( ‘tribe_events_single_event_before_the_meta’ ) ?>
    <?php tribe_get_template_part( ‘modules/meta’ ); ?>
    <?php do_action( ‘tribe_events_single_event_after_the_meta’ ) ?>

    I tried adding that bit of code in several ways, no improvement.

    Another person at our office added that folder to the root (I assume) trying to fix this problem.
    I removed it and there was no change. Do you have any other idea what’s wrong?

    in reply to: No Google Map in Calendar Events in Custom Theme #1087693
    Byron
    Participant

    Here is contents tribe-events/list/single-event.php:

    
    <?php
    /**
     * List View Single Event
     * This file contains one event in the list view
     *
     * Override this template in your own theme by creating a file at [your-theme]/tribe-events/list/single-event.php
     *
     * @package TribeEventsCalendar
     *
     */
    if ( ! defined( 'ABSPATH' ) ) {
    	die( '-1' );
    }
    
    	<div class="seventy-five">1234
    
    // Setup an array of venue details for use later in the template
    $venue_details = tribe_get_venue_details();
    
    // Venue
    $has_venue_address = ( ! empty( $venue_details['address'] ) ) ? ' location' : '';
    
    // Organizer
    $organizer = tribe_get_organizer();
    
    ?>
    
    <!-- Event Cost -->
    <?php if ( tribe_get_cost() ) : ?>
    	<div class="tribe-events-event-cost">
    		<span><?php echo tribe_get_cost( null, true ); ?></span>
    	</div>
    <?php endif; ?>
    
    <!-- Event Title -->
    <?php do_action( 'tribe_events_before_the_event_title' ) ?>
    <h2 class="tribe-events-list-event-title">
    	<a class="tribe-event-url" href="<?php echo esc_url( tribe_get_event_link() ); ?>" title="<?php the_title_attribute() ?>" rel="bookmark">
    		<?php the_title() ?>123
    	</a>
    </h2>
    <?php do_action( 'tribe_events_after_the_event_title' ) ?>
    
    <!-- Event Meta -->
    <?php do_action( 'tribe_events_before_the_meta' ) ?>
    <div class="tribe-events-event-meta">
    	<div class="author <?php echo esc_attr( $has_venue_address ); ?>">
    
    		<!-- Schedule & Recurrence Details -->
    		<div class="tribe-event-schedule-details">
    			<?php echo tribe_events_event_schedule_details() ?>
    		</div>
    
    		<?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; ?>
    
    	</div>
    </div><!-- .tribe-events-event-meta -->
    <?php do_action( 'tribe_events_after_the_meta' ) ?>
    
    <!-- Event Image -->
    <?php echo tribe_event_featured_image( null, 'medium' ) ?>
    
    <!-- Event Content -->
    <?php do_action( 'tribe_events_before_the_content' ) ?>
    <div class="tribe-events-list-event-description tribe-events-content">
    	<?php echo tribe_events_get_the_excerpt(); ?>
    	<a href="<?php echo esc_url( tribe_get_event_link() ); ?>" class="tribe-events-read-more" rel="bookmark"><?php esc_html_e( 'Find out more', 'the-events-calendar' ) ?> &raquo;</a>
    </div><!-- .tribe-events-list-event-description -->
    
    		</div><!-- /seventy-five -->
    
    		<?php get_sidebar(); ?>
    		<?php get_sidebar('cooltype'); ?>
    
    <?php
    do_action( 'tribe_events_after_the_content' );
    
    in reply to: No Google Map in Calendar Events in Custom Theme #1087687
    Byron
    Participant

    Oh, sorry I see some notes in the email.

    in reply to: No Google Map in Calendar Events in Custom Theme #1087682
    Byron
    Participant

    What?
    So how do I get the maps to show up?

    in reply to: No Google Map in Calendar Events in Custom Theme #1087120
    Byron
    Participant

    Sorry for delay in reply.
    No tribe hooks in the functions.php
    Yes there is tribe-events folder in the theme root

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