Moving the Eventbrite Tickets box

Home Forums Ticket Products Eventbrite Tickets Moving the Eventbrite Tickets box

  • This topic has 9 replies, 2 voices, and was last updated 7 years ago by Carel.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1248448
    Carel
    Participant

    Hi, I followed the instructions at https://theeventscalendar.com/knowledgebase/moving-the-eventbrite-tickets-box/ but the Eventbrite tickets are still after event details at my site. I mean the eventbrite part at the top of the page.

    You can have a look here:
    http://www.re-job.nl/agenda/workshop-job-pitching-xl/

    What I’m doing wrong…?

    • This topic was modified 7 years, 1 month ago by Carel.
    #1248656
    Cliff
    Member

    Hi, Carel.

    The code snippets there are current.

    Also, I didn’t see Eventbrite tickets displaying at your link at all.

    Maybe you didn’t implement the code snippet fully/properly.

    Could you please provide a screenshot of your code and specify what file it is in? Maybe I can spot a quick fix for you.

    #1248860
    Carel
    Participant

    Hi Cliff.

    I’m sorry. I was formulating my wish wrong.. I like to lift the whole Eventbrite part to the top of the page. See my screenshot.

    #1249282
    Cliff
    Member

    Carel, for rearranging the main display elements (called modules in the template’s code), please refer to our Themer’s Guide instructions.

    If I understand your request correctly, you’d simply cut and paste the

    <!-- Event meta -->

    section up higher in the template, before the

    <!-- Event content -->

    part (in your own copy of the file, not our core plugin files of course).

    Please let me know how this goes for you.

    #1253386
    Carel
    Participant

    Hi Cliff,

    I followed the Themer’s Guide and created a new folder /re-job.nl/wp-content/themes/x-child/tribe-events

    In this folder I copied single-event.php

    In this file I moved the <!– Event meta –> above <!– Event content –>

    Uploaded bij FTP but nothing is changing in my single event view.

    http://www.re-job.nl/agenda/workshop-linkedin-4/

    What else I have to do…?

    Regards, Carel

    #1253607
    Cliff
    Member

    Carel, it worked fine for me in my testing.

    Either you did it correctly and your website still has it cached or you didn’t do it correctly.

    I’d suggest activating a different theme (e.g. X parent theme) and then immediately re-activating your X child theme to tell WP to reload the site fresh from the files.

    I hope this will get it working for you. Let me know.

    #1253757
    Carel
    Participant

    Hi Cliff,

    I switched themes, cleared cache but still no result.
    If you look in the source of http://www.re-job.nl/agenda/workshop-linkedin-4/ you can see <!– Event content –> is still above <!– Event meta –> but in my copied single-event.php it is under…

    This is my changed file:

    <?php
    /**
    * Single Event Template
    * A single event. This displays the event title, description, meta, and
    * optionally, the Google map for the event.
    *
    * Override this template in your own theme by creating a file at [your-theme]/tribe-events/single-event.php
    *
    * @package TribeEventsCalendar
    * @version 4.3
    *
    */

    if ( ! defined( ‘ABSPATH’ ) ) {
    die( ‘-1’ );
    }

    $events_label_singular = tribe_get_event_label_singular();
    $events_label_plural = tribe_get_event_label_plural();

    $event_id = get_the_ID();

    ?>

    <div id=”tribe-events-content” class=”tribe-events-single”>

    <p class=”tribe-events-back”>
    “> <?php printf( ‘« ‘ . esc_html_x( ‘All %s’, ‘%s Events plural label’, ‘the-events-calendar’ ), $events_label_plural ); ?>

    <!– Notices –>
    <?php tribe_the_notices() ?>

    <?php the_title( ‘

    ‘, ‘

    ‘ ); ?>

    <div class=”tribe-events-schedule tribe-clearfix”>
    <?php echo tribe_events_event_schedule_details( $event_id, ‘

    ‘, ‘

    ‘ ); ?>
    <?php if ( tribe_get_cost() ) : ?>
    <span class=”tribe-events-cost”><?php echo tribe_get_cost( null, true ) ?></span>
    <?php endif; ?>
    </div>

    <!– Event header –>
    <div id=”tribe-events-header” <?php tribe_events_the_header_attributes() ?>>
    <!– Navigation –>

    <?php printf( esc_html__( ‘%s Navigation’, ‘the-events-calendar’ ), $events_label_singular ); ?>

    <ul class=”tribe-events-sub-nav”>
    <li class=”tribe-events-nav-previous”><?php tribe_the_prev_event_link( ‘<span>«</span> %title%’ ) ?>
    <li class=”tribe-events-nav-next”><?php tribe_the_next_event_link( ‘%title% <span>»</span>’ ) ?>

    <!– .tribe-events-sub-nav –>
    </div>
    <!– #tribe-events-header –>

    <?php while ( have_posts() ) : the_post(); ?>
    <div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <!– Event featured image, but exclude link –>
    <?php echo tribe_event_featured_image( $event_id, ‘full’, false ); ?>

    <!– 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’ ) ?>
    </div> <!– #post-x –>
    <?php if ( get_post_type() == Tribe__Events__Main::POSTTYPE && tribe_get_option( ‘showComments’, false ) ) comments_template() ?>
    <?php endwhile; ?>

    <!– 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’ ) ?>

    <!– Event footer –>
    <div id=”tribe-events-footer”>
    <!– Navigation –>

    <?php printf( esc_html__( ‘%s Navigation’, ‘the-events-calendar’ ), $events_label_singular ); ?>

    <ul class=”tribe-events-sub-nav”>
    <li class=”tribe-events-nav-previous”><?php tribe_the_prev_event_link( ‘<span>«</span> %title%’ ) ?>
    <li class=”tribe-events-nav-next”><?php tribe_the_next_event_link( ‘%title% <span>»</span>’ ) ?>

    <!– .tribe-events-sub-nav –>
    </div>
    <!– #tribe-events-footer –>

    </div><!– #tribe-events-content –>

    #1254009
    Cliff
    Member

    Skimming through, that file looks good.

    It should be located at /re-job.nl/wp-content/themes/x-child/tribe-events/single-event.php, just as you said (assuming you’re working on the correct server and file path for this site)…

    If you move tribe-events to be a sub-directory of the twenty-seventeen theme, does it work then? If yes, move it to be a sub-directory of the X parent theme directory and see if it works there.

    #1265103
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Moving the Eventbrite Tickets box’ is closed to new replies.