• Resolved donnytree

    (@donnytree)


    Hello,

    Since the plugin update to 4.4.0.1, my Google Calendar and iCal buttons are showing twice from this code:

    <!-- .tribe-events-single-event-description -->
    <?php do_action( 'tribe_events_single_event_after_the_content' ) ?>

    If I comment out this code, they all disappear?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hey @donnytree,

    Thanks for using The Events Calendar, I’m happy to help! In order to help, I would like to get some more information from you, if I can:

    -First, if you could please test for conflicts by following this documentation? Let me know what you find. This will help me determine how deeply we need to look into the specific configuration of your site, or if this is a bug. ??
    -Can you send me a link to your site so I can see this firsthand? I’m a visual person, and I can often be more helpful in giving solutions to problems I can see and interact with.

    Thanks!
    Shelby ??

    Thread Starter donnytree

    (@donnytree)

    Hi Shelby,

    Thanks so much and thank you for the awesome plugin. When I switched to the TwentyTwelve theme the double buttons did go away, but I see a section that is not appearing when my theme is active instead of the second set of buttons?

    It’s on my dev site which is not publicly accessible, but I have screenshots:
    https://donnatremonte.com/wp-content/uploads/2017/01/twentytwelve-ex.jpg
    https://donnatremonte.com/wp-content/uploads/2017/01/origin-ex.jpg

    Here is the code from single-event.php:

    <div class="entry-content">
        <?php while ( have_posts() ) :  the_post(); ?>
    	<!-- Event content -->
    	<?php do_action( 'tribe_events_single_event_before_the_content' ) ?>
    	<div class="tribe-events-single-event-description tribe-events-content">
    	    <?php the_content(); ?>
    	</div>
    	<!-- .tribe-events-single-event-description -->
        <?php do_action( 'tribe_events_single_event_after_the_content' ) ?>
        <?php endwhile; ?>
        </div>
    </div><!-- .tribe-events-event-meta -->	
    <!-- Event header -->
        <div id="tribe-events-header" <?php tribe_events_the_header_attributes() ?>>
        <!-- Navigation -->
        <h3 class="tribe-events-visuallyhidden"><?php printf( esc_html__( '%s Navigation', 'the-events-calendar' ), $events_label_singular ); ?></h3>
        <ul class="tribe-events-sub-nav-2">
    	<li class="tribe-events-nav-previous"><?php tribe_the_prev_event_link( '<span>&laquo;</span> %title%' ) ?></li>
    	<li class="tribe-events-nav-next"><?php tribe_the_next_event_link( '%title% <span>&raquo;</span>' ) ?></li>
        </ul>
        <!-- .tribe-events-sub-nav -->
    </div>
    <!-- #tribe-events-header -->
    <?php do_action( 'tribe_events_after_the_content' ); ?>
    </div></div><!-- end content, end hfeed -->

    Thank you again in advance,
    Donna

    Hey Donna,

    Apologies for my delay here, this one slipped through the cracks unfortunately. Thanks for working through the documentation I sent, that’s super helpful! ??

    Since the single events page works with Twenty-Twelve, I’d suggest reaching out to your theme developer for support with this issue, as we, unfortunately, can’t support theme conflicts on this forum.

    Best of luck with your project! Let us know should you have any questions in the future!

    Best,

    Shelby ??

    Thread Starter donnytree

    (@donnytree)

    OK, thanks so much Shelby!

    Thread Starter donnytree

    (@donnytree)

    Hi Shelby,

    I finally just figured it out! Per this page, https://theeventscalendar.com/knowledgebase/change-the-text-for-ical-and-google-calendar-export-buttons/, I added the custom code to my functions.php file of my child theme and if I remove the code in functions.php, then the code only appears once.

    Anyway, just thought I would let you know. Thanks!
    Donna

    Hi @donnytree,

    That’s fantastic news–glad to hear that your issue has been resolved, and thanks so much for coming back to share the solution with us! ?? Please don’t hesitate to let us know if there’s anything else we can do for you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Double tribe-events-cal-links’ is closed to new replies.