Home › Forums › Ticket Products › Event Tickets Plus › ticket form is going in the wrong place…
- This topic has 5 replies, 3 voices, and was last updated 9 years, 3 months ago by
Cliff.
-
AuthorPosts
-
January 13, 2017 at 8:45 am #1218145
juliehall
ParticipantHi
My developer has customised my single event page so that it has a little sidebar. As a result, when I add my ticket form, it is going under the sidebar and not the main content. You can see the page here http://theschoolofmarketing.net/workshop/wordpress-workshop-london/
I’m guessing that there is a piece of code that goes at the end of the copy that tells the ticket form where to go, but I can’t figure out what it is based on what he’s done. Can you please have a look and let me know which bit I need to move to make it work.
This is the code
<?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 * */ ?> <div class="full_width"> <div class="full_width_inner"> <div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner "> <div class="wpb_text_column wpb_content_element "> <div class="wpb_wrapper"> </div> </div> </div> </div> <?php 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"> <a href="<?php echo esc_url( tribe_get_events_link() ); ?>"> <?php printf( '« ' . esc_html__( 'All %s', 'the-events-calendar' ), $events_label_plural ); ?></a> </p> <!-- Notices --> <?php tribe_the_notices() ?> <?php the_title( '<h1 class="tribe-events-single-event-title">', '</h1>' ); ?> <div class="tribe-events-schedule tribe-clearfix"> <?php echo tribe_events_event_schedule_details( $event_id, '<h2>', '</h2>' ); ?> <?php if ( tribe_get_cost() ) : ?> <span class="tribe-events-divider">|</span> <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 --> <!-- .tribe-events-sub-nav --> </div> <!-- #tribe-events-header --> <div class="vc_col-sm-9"> <?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 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' ) ?> </div> <!-- #post-x --> <?php if ( get_post_type() == Tribe__Events__Main::POSTTYPE && tribe_get_option( 'showComments', false ) ) comments_template() ?> <?php do_action( 'tribe_events_single_event_before_the_content' ) ?> <?php endwhile; ?> </div> <div class="vc_col-sm-3"> <!-- 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> <!-- Event footer --> <div id="tribe-events-footer"> <!-- 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"> <li class="tribe-events-nav-previous"><?php tribe_the_prev_event_link( '<span>«</span> %title%' ) ?></li> <li class="tribe-events-nav-next"><?php tribe_the_next_event_link( '%title% <span>»</span>' ) ?></li> </ul> <!-- .tribe-events-sub-nav --> </div> <!-- #tribe-events-footer --> </div><!-- #tribe-events-content --> </div> </div>January 13, 2017 at 12:03 pm #1218270juliehall
ParticipantWe have found a fix… however, I would like to be able to add the ticket in the middle of the content – is there a shortcake for this?
Also, I would like to edit the CSS on the ticket form as it looks a bit weird – where do I do this?
Thanks
JulieJanuary 13, 2017 at 9:11 pm #1218510Cliff
MemberHi, Julie.
Thanks for your detailed question.
If you have the latest versions of our plugins, you can change the location of the RSVP and Event Tickets Plus ticket forms at wp-admin > Events > Settings > Tickets (screenshot)
If, however, you do not want them in any of those available locations, you’d be in custom development territory. However, we cannot provide such in-depth customization help, per our Scope of Support / Terms.
Thank you very much for your understanding.
And, to answer your question about a shortcode to render the tickets, no that’s not a feature. A developer could make one though, or you could request this as a new feature (or maybe search to see if the idea was already posted by someone else) at our plugins’ UserVoice page.
This allows others who are interested in that feature to easily voice their support. We frequently review suggestions there to find out which ones are popular, then we implement as many of them as we can.
If you post it / find it, feel free to link to it from here in case anyone comes across this forum thread in the future.
Please let me know if you have any follow-up questions on this topic.
If you need some coding help, you may want to ask your developer or reference our documentation and list of known customizers.
January 14, 2017 at 2:31 am #1218534juliehall
ParticipantThanks – I found the settings and have adjusted them.
-
This reply was modified 9 years, 3 months ago by
juliehall.
January 16, 2017 at 9:50 am #1219103Cliff
MemberI’m glad to hear that. Thanks for the update. Have a great week!
-
This reply was modified 9 years, 3 months ago by
-
AuthorPosts
- The topic ‘ticket form is going in the wrong place…’ is closed to new replies.
