I have tried to add
“<th scope=”col” class=”espresso-my-events-datetime-range-th”>
<?php echo apply_filters(
‘FHEE__loop-espresso_my_events__datetime_range_table_header’,
esc_html__(‘When’, ‘event_espresso’),
$object_type,
$objects,
$template_slug,
$att_id
); ?>
</th>”
in loop-espresso_my_events-simple_list_table.template.php but of course without any sucess.
Are you copying the templates to a child theme to modify them? If not I recommend doing so, otherwise you’ll lose these changes whenever the plugin updates.
loop-espresso_my_events-simple_list_table.template.php controls the table output, so with the above change, you should see an additional ‘When’ table header.
To add the additional column to the table you’ll need to copy \eea-wpuser-integration\templates\content-espresso_my_events-simple_list_table.template.php
Between line 31 and 32, you’ll add something like:
That would add a date range in the same way it does for the ‘default’ table but you can output whatever you prefer in that section.
Viewing 1 reply thread
The support post ‘Adding time to list’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.