Support

Home Forums Event Espresso Premium Main Conference event ticket required before booking workshop events Reply To: Main Conference event ticket required before booking workshop events

Reply To: Main Conference event ticket required before booking workshop events

Author Replies
Josh # Posted on May 7, 2018 at 1:47 pm

Hi Ben,

I took a look at that template and it may be your column issues are the result of this:

<tr>
	<?php echo do_shortcode(" [ESPRESSO_MY_EVENTS]"); ?>
</tr>

which at the very least those table row tags should be removed.

With regards to
include wp-content/plugins/eea-wp-user-integration/templates/eea-wp-users-registrations-table.template.php';

You’re missing an opening quote mark before the file name, and I don’t think the file path is valid.

In any case, that particular template file expects some template arguments, so include isn’t the correct way to load that template file.

Since your profile-form.php file has this:

<?php do_action( 'profile_personal_options', $profileuser ); ?>

You can add the following to a functions.php file (no need to edit the template directly) to load the registrations list:

add_action('profile_personal_options', array('EED_WP_Users_Admin', 'view_registrations_for_contact'));

Do NOT follow this link or you will be banned from the site!