Hi I’m back again. The guide I followed to do this didn’t work. I followed this guide: https://theeventscalendar.com/knowledgebase/moving-the-ticket-form/ and then my site broke giving me this error:
‘Fatal error: Call to undefined function tribe_etp_move_tickets_purchase_form() in /home/shutte26/public_html/2016/wp-content/themes/shutterbugs-2016-changes/functions.php on line 23’
Here’s my code:
<?php
//
// Recommended way to include parent theme styles.
// (Please see http://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme)
//
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array('parent-style')
);
}
//
// Your code goes below
//
/*
* Uncomment to Move Ticket Form Below the Event Description
*/
tribe_etp_move_tickets_purchase_form( 'tribe_events_single_event_after_the_content', 5 );
Help?