Name Last Update
..
block_event_list_item_format.php Loading commit data...
block_location_list_item_format.php Loading commit data...
calendar_preview_modal_date_format.php Loading commit data...
calendar_preview_modal_event_format.php Loading commit data...
calendar_preview_tooltip_event_format.php Loading commit data...
categories_list_item_format.php Loading commit data...
categories_list_item_format_footer.php Loading commit data...
categories_list_item_format_header.php Loading commit data...
category_event_list_item_footer_format.php Loading commit data...
category_event_list_item_format.php Loading commit data...
category_event_list_item_header_format.php Loading commit data...
category_page_format.php Loading commit data...
event_excerpt_alt_format.php Loading commit data...
event_excerpt_format.php Loading commit data...
event_grid_item_format.php Loading commit data...
event_grid_item_format_footer.php Loading commit data...
event_grid_item_format_header.php Loading commit data...
event_list_item_format.php Loading commit data...
event_list_item_format_footer.php Loading commit data...
event_list_item_format_header.php Loading commit data...
location_baloon_format.php Loading commit data...
location_event_list_item_footer_format.php Loading commit data...
location_event_list_item_format.php Loading commit data...
location_event_list_item_header_format.php Loading commit data...
location_excerpt_alt_format.php Loading commit data...
location_excerpt_format.php Loading commit data...
location_grid_item_format.php Loading commit data...
location_grid_item_format_footer.php Loading commit data...
location_grid_item_format_header.php Loading commit data...
location_list_item_format.php Loading commit data...
location_list_item_format_footer.php Loading commit data...
location_list_item_format_header.php Loading commit data...
map_text_format.php Loading commit data...
no_tags_message.php Loading commit data...
readme.txt Loading commit data...
single_event_format.php Loading commit data...
single_location_format.php Loading commit data...
tag_event_list_item_footer_format.php Loading commit data...
tag_event_list_item_format.php Loading commit data...
tag_event_list_item_header_format.php Loading commit data...
tag_page_format.php Loading commit data...
tags_list_item_format.php Loading commit data...
tags_list_item_format_footer.php Loading commit data...
tags_list_item_format_header.php Loading commit data...
Files in this folder or in wp-content/themes/yourthemedir/plugins/events-manager/formats/ could be used to replace formatting options in the settings page. This allows you a much greater degree of flexibility as you can use PHP go do all sorts of customizations to your events.

These files are also used to save a placeholder format during installation of the plugin, or if resetting a format setting.

To overwrite a formatting option, you need to firstly create a file here with the same name as the setting name in the wp_options table without the dbem_ prefix. So, for example:

'dbem_event_list_item_format' - format for controlling a single event format in a list of events

becomes

event_list_item_format.php

Then, using the example above, to activate the overriding format, you need to add this to your theme's functions.php file.

<?php
function my_em_custom_formats( $array ){
	$my_formats = array('dbem_event_list_item_format'); //the format you want to override, corresponding to file above.
	return $array + $my_formats; //return the default array and your formats.
}
add_filter('em_formats_filter', 'my_em_custom_formats', 1, 1);
?>

If you want to add more than one format, add more option names to the $my_formats array and create the corresponding php file.