{"id":1218145,"date":"2017-01-13T08:45:21","date_gmt":"2017-01-13T16:45:21","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-form-is-going-in-the-wrong-place\/"},"modified":"2017-01-13T21:12:19","modified_gmt":"2017-01-14T05:12:19","slug":"ticket-form-is-going-in-the-wrong-place","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-form-is-going-in-the-wrong-place\/","title":{"rendered":"ticket form is going in the wrong place&#8230;"},"content":{"rendered":"<p>Hi<\/p>\n<p>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\/<\/p>\n<p>I&#8217;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&#8217;t figure out what it is based on what he&#8217;s done. Can you please have a look and let me know which bit I need to move to make it work.<\/p>\n<p>This is the code<\/p>\n<pre><code>&lt;?php\r\n\/**\r\n * Single Event Template\r\n * A single event. This displays the event title, description, meta, and\r\n * optionally, the Google map for the event.\r\n *\r\n * Override this template in your own theme by creating a file at [your-theme]\/tribe-events\/single-event.php\r\n *\r\n * @package TribeEventsCalendar\r\n *\r\n *\/\r\n?&gt;\r\n\r\n&lt;div class=\"full_width\"&gt;\r\n\t&lt;div class=\"full_width_inner\"&gt;\r\n\r\n&lt;div class=\"wpb_column vc_column_container vc_col-sm-12\"&gt;&lt;div class=\"vc_column-inner \"&gt;\r\n\t&lt;div class=\"wpb_text_column wpb_content_element \"&gt;\r\n\t\t&lt;div class=\"wpb_wrapper\"&gt;\r\n\r\n\t&lt;\/div&gt;\r\n\t&lt;\/div&gt;\r\n\t&lt;\/div&gt;\r\n\t&lt;\/div&gt;\r\n\r\n&lt;?php\r\n\r\nif ( ! defined( 'ABSPATH' ) ) {\r\n\tdie( '-1' );\r\n}\r\n\r\n$events_label_singular = tribe_get_event_label_singular();\r\n$events_label_plural = tribe_get_event_label_plural();\r\n\r\n$event_id = get_the_ID();\r\n\r\n?&gt;\r\n\r\n&lt;div id=\"tribe-events-content\" class=\"tribe-events-single\"&gt;\r\n\r\n\t&lt;p class=\"tribe-events-back\"&gt;\r\n\t\t&lt;a href=\"&lt;?php echo esc_url( tribe_get_events_link() ); ?&gt;\"&gt; &lt;?php printf( '&amp;laquo; ' . esc_html__( 'All %s', 'the-events-calendar' ), $events_label_plural ); ?&gt;&lt;\/a&gt;\r\n\t&lt;\/p&gt;\r\n\r\n\t&lt;!-- Notices --&gt;\r\n\t&lt;?php tribe_the_notices() ?&gt;\r\n\r\n\t&lt;?php the_title( '&lt;h1 class=\"tribe-events-single-event-title\"&gt;', '&lt;\/h1&gt;' ); ?&gt;\r\n\r\n\t&lt;div class=\"tribe-events-schedule tribe-clearfix\"&gt;\r\n\t\t&lt;?php echo tribe_events_event_schedule_details( $event_id, '&lt;h2&gt;', '&lt;\/h2&gt;' ); ?&gt;\r\n\t\t&lt;?php if ( tribe_get_cost() ) : ?&gt;\r\n\t\t\t&lt;span class=\"tribe-events-divider\"&gt;|&lt;\/span&gt;\r\n\t\t\t&lt;span class=\"tribe-events-cost\"&gt;&lt;?php echo tribe_get_cost( null, true ) ?&gt;&lt;\/span&gt;\r\n\t\t&lt;?php endif; ?&gt;\r\n\t&lt;\/div&gt;\r\n\r\n\t&lt;!-- Event header --&gt;\r\n\t&lt;div id=\"tribe-events-header\" &lt;?php tribe_events_the_header_attributes() ?&gt;&gt;\r\n\t\t&lt;!-- Navigation --&gt;\r\n\t\r\n\t\t&lt;!-- .tribe-events-sub-nav --&gt;\r\n\t&lt;\/div&gt;\r\n\t&lt;!-- #tribe-events-header --&gt;\r\n\r\n  &lt;div class=\"vc_col-sm-9\"&gt;\r\n\t&lt;?php while ( have_posts() ) :  the_post(); ?&gt;\r\n\t\t&lt;div id=\"post-&lt;?php the_ID(); ?&gt;\" &lt;?php post_class(); ?&gt;&gt;\r\n\t\t\t&lt;!-- Event featured image, but exclude link --&gt;\r\n\t\t\t&lt;?php echo tribe_event_featured_image( $event_id, 'full', false ); ?&gt;\r\n\r\n\t\t\t&lt;!-- Event content --&gt;\r\n\t\t\t&lt;div class=\"tribe-events-single-event-description tribe-events-content\"&gt;\r\n\t\t\t\t&lt;?php the_content(); ?&gt;\r\n\t\t\t&lt;\/div&gt;\r\n\t\t\t&lt;!-- .tribe-events-single-event-description --&gt;\r\n\t\t\t&lt;?php do_action( 'tribe_events_single_event_after_the_content' ) ?&gt;\r\n\r\n\t\t&lt;\/div&gt; &lt;!-- #post-x --&gt;\r\n\t\t&lt;?php if ( get_post_type() == Tribe__Events__Main::POSTTYPE &amp;&amp; tribe_get_option( 'showComments', false ) ) comments_template() ?&gt;\r\n   \t &lt;?php do_action( 'tribe_events_single_event_before_the_content' ) ?&gt;\r\n    \t&lt;?php endwhile; ?&gt;\r\n  &lt;\/div&gt;\r\n  \r\n  &lt;div class=\"vc_col-sm-3\"&gt;\r\n    \t\t\t&lt;!-- Event meta --&gt;\r\n   \r\n\t\t\t&lt;?php do_action( 'tribe_events_single_event_before_the_meta' ) ?&gt;\r\n\t\t\t&lt;?php tribe_get_template_part( 'modules\/meta' ); ?&gt;\r\n\t\t&lt;?php do_action( 'tribe_events_single_event_after_the_meta' ) ?&gt;\r\n\r\n  &lt;\/div&gt;\r\n\r\n  \r\n\t&lt;!-- Event footer --&gt;\r\n\t&lt;div id=\"tribe-events-footer\"&gt;\r\n\t\t&lt;!-- Navigation --&gt;\r\n\t\t&lt;h3 class=\"tribe-events-visuallyhidden\"&gt;&lt;?php printf( esc_html__( '%s Navigation', 'the-events-calendar' ), $events_label_singular ); ?&gt;&lt;\/h3&gt;\r\n\t\t&lt;ul class=\"tribe-events-sub-nav\"&gt;\r\n\t\t\t&lt;li class=\"tribe-events-nav-previous\"&gt;&lt;?php tribe_the_prev_event_link( '&lt;span&gt;&amp;laquo;&lt;\/span&gt; %title%' ) ?&gt;&lt;\/li&gt;\r\n\t\t\t&lt;li class=\"tribe-events-nav-next\"&gt;&lt;?php tribe_the_next_event_link( '%title% &lt;span&gt;&amp;raquo;&lt;\/span&gt;' ) ?&gt;&lt;\/li&gt;\r\n\t\t&lt;\/ul&gt;\r\n\t\t&lt;!-- .tribe-events-sub-nav --&gt;\r\n\t&lt;\/div&gt;\r\n\t&lt;!-- #tribe-events-footer --&gt;\r\n\r\n&lt;\/div&gt;&lt;!-- #tribe-events-content --&gt;\r\n  \r\n&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-1218145","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ticket form is going in the wrong place... -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-form-is-going-in-the-wrong-place\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ticket form is going in the wrong place... -\" \/>\n<meta property=\"og:description\" content=\"Hi 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&#8217;m guessing that there is a piece of code that goes at [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-form-is-going-in-the-wrong-place\/\" \/>\n<meta property=\"article:modified_time\" content=\"2017-01-14T05:12:19+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-form-is-going-in-the-wrong-place\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-form-is-going-in-the-wrong-place\/\",\"name\":\"ticket form is going in the wrong place... -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-01-13T16:45:21+00:00\",\"dateModified\":\"2017-01-14T05:12:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-form-is-going-in-the-wrong-place\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-form-is-going-in-the-wrong-place\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-form-is-going-in-the-wrong-place\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Ticket Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Event Tickets Plus\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"ticket form is going in the wrong place&#8230;\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ticket form is going in the wrong place... -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-form-is-going-in-the-wrong-place\/","og_locale":"en_US","og_type":"article","og_title":"ticket form is going in the wrong place... -","og_description":"Hi 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&#8217;m guessing that there is a piece of code that goes at [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-form-is-going-in-the-wrong-place\/","article_modified_time":"2017-01-14T05:12:19+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-form-is-going-in-the-wrong-place\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-form-is-going-in-the-wrong-place\/","name":"ticket form is going in the wrong place... -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-01-13T16:45:21+00:00","dateModified":"2017-01-14T05:12:19+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-form-is-going-in-the-wrong-place\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-form-is-going-in-the-wrong-place\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-form-is-going-in-the-wrong-place\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Ticket Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/"},{"@type":"ListItem","position":4,"name":"Event Tickets Plus","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/"},{"@type":"ListItem","position":5,"name":"ticket form is going in the wrong place&#8230;"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1218145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1218145\/revisions"}],"predecessor-version":[{"id":1218511,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1218145\/revisions\/1218511"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1218145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}