• Resolved Grafico_Torino

    (@grafico_torino)


    Hi everybody,
    I have a question about customization of single-mp-event.php template.
    How can I customize it?

    Inside the template there is that code:

    /**
    				 * add_action('mptt_event_item_content', 'mptt_event_template_content_title', 10);
    				 * add_action('mptt_event_item_content', 'mptt_event_template_content_thumbnail', 20);
    				 * add_action('mptt_event_item_content', 'mptt_event_template_content_post_content', 30);
    				 * add_action('mptt_event_item_content', 'mptt_event_template_content_title', 40);
    				 * add_action('mptt_event_item_content', 'mptt_event_template_content_time_list', 50);
    				 */
    

    The problem is that it doesn’t seem work. How can I set what display or not?
    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Contributor motopress

    (@motopress)

    Hi @grafico_torino,

    You can try to copy this file to /wp-content/themes/your-theme-folder/ and change ‘add_’ for ‘remove_’

    remove_action('mptt_event_item_content', 'mptt_event_template_content_thumbnail', 20);
    This will remove thumbnail form single Event post type.
    Could you specify what exactly you want to remove or hide there?

Viewing 1 replies (of 1 total)

The topic ‘Customize single event template?’ is closed to new replies.