View Categories

How to Override Speaker Template

Here’s a visual hook guide for the Eventin Speaker Details Page. This is the part in which you can find eventin speaker hooks quickly and easily by seeing their actual locations (and you can copy/paste).

Now that you know the speaker page hooks, you can override the Eventin Speaker details Page via your child theme’s functions. You can remove default elements (for example, the featured image, add element, schedule…), you can add your custom elements by picking the correct positioned “hook” and triggering your function, and you can even “move” existing elements.

Speaker Template Style One #

etn_speaker_title_before
etn_speaker_title_after
etn_speaker_designation
etn_speaker_summary
etn_speaker_socials

etn_speaker_details_before

etn_schedule_time

etn_schedule_locations

etn_speaker_topic

etn_speaker_objective

etn_speaker_details_after

Single Speaker Page Default Hooks #

This is the list of Eventin speaker hooks you can override/remove by simply changing “add_action” to “remove_action” and “add_filter” in your functions.php. Eventin uses its own hooks e.g. “etn_single_event_content_body” to assemble the single speaker page together. Because it’s done this way, you can therefore use “remove_action” to remove one of these elements.

/**
 * @snippet       List of Default Speaker Hooks @ Eventin Single Speaker
 * @author        Themewinter
 * @updated       Eventin WP 2.4.0
 **/

// Before content
add_action( "etn_speaker_content_before", "etn_before_single_speaker_content", 9 );
add_action( 'etn_before_speaker_archive_content', 'etn_before_speaker_archive_content_show_thumbnail', 10 );

add_action( "etn_speaker_title_before", "speaker_title_before", 10 );
add_action( "etn_speaker_details_before", "speaker_details_before", 16 );

// After content
add_action( "etn_speaker_content_after", "etn_after_single_speaker_content", 9 );
add_action( "etn_speaker_title_after", "speaker_title_after", 12 );
add_action( "etn_speaker_details_after", "speaker_details_after", 21 );


// Single content
add_action( "etn_single_speaker_template", "etn_single_speaker_template_select", 9 );
add_action( "etn_speaker_designation", "speaker_designation", 13 );
add_action( "etn_speaker_summary", "speaker_summary", 14 );
add_action( "etn_speaker_socials", "speaker_socials", 15 );
add_action( "etn_schedule_time", "schedule_time", 10, 2 );
add_action( "etn_schedule_locations", "schedule_locations", 18, 1 );
add_action( "etn_speaker_topic", "speaker_topic", 19, 1 );
add_action( "etn_speaker_objective", "speaker_objective", 20, 1 );

// All Filters
add_filters("etn/speakers/avatar",)
add_filters('etn_speaker_title',)

Speaker Template Style Two #

etn_speaker_two_company
etn_speaker_two_designation
etn_speaker_two_meta
etn_speaker_two_social
etn_speaker_two_summary

etn_speaker_two_sessions_title

etn_speaker_two_sessions_details_before

etn_speaker_two_sessions_details

etn_speaker_two_sessions_details_after

Speaker Template Style Two Hooks #

This is the list of Eventin speaker hooks you can override/remove by simply changing “add_action” to “remove_action” and ”add_filter” in your functions.php. Eventin uses its own hooks e.g. “etn_single_speaker_content_body” to assemble the single speaker page together. Because it’s done this way, you can therefore use “remove_action” to remove one of these elements.

/**
 * @snippet       List of speaker style two hooks @ Eventin Single page
 * @author        Themewinter
 * @updated       Eventin WP 2.4.0
 **/

// Before content
add_action("etn_speaker_two_sessions_details_before", "speaker_two_sessions_details_before" , 16  );

// After content
add_action("etn_speaker_two_sessions_details_after", "speaker_two_sessions_details_after" , 22  );


// Single content
add_action("etn_speaker_two_company", "speaker_two_company" , 10 );
add_action("etn_speaker_two_designation", "speaker_two_designation" , 11 );
add_action("etn_speaker_two_meta", "speaker_two_meta" , 12 );
add_action("etn_speaker_two_social", "speaker_two_social" , 13 );
add_action("etn_speaker_two_summary", "speaker_two_summary" , 14 );
add_action("etn_speaker_two_sessions_title", "speaker_two_sessions_title", 15 );
add_action("etn_speaker_two_sessions_details", "speaker_two_sessions_details" , 17 , 1 );
add_action("etn_schedule_two_header", "schedule_two_header" , 18 , 2 );
add_action("etn_schedule_two_session_time", "schedule_two_session_time" , 19 , 2 );
add_action("etn_schedule_two_session_title", "schedule_two_session_title", 20 );
add_action("etn_schedule_two_session_location", "schedule_two_session_location" , 21 );

// All Filters
add_filters("etn/speakers/avatar",)
add_filters('etn_speaker_title',)

Speaker Template Style Three #

etn_speaker_three_designation
etn_speaker_three_meta
etn_speaker_three_social

etn_speaker_three_summary

etn_speaker_three_details_before

etn_schedule_three_header

etn_schedule_three_session_time

etn_schedule_three_session_topic

etn_schedule_three_session_location

Speaker Template Style Three Hooks #

This is the list of Eventin speaker hooks you can override/remove by simply changing “add_action” to “remove_action” and ”add_filter” in your functions.php. Eventin uses its own hooks e.g. “etn_single_speaker_content_body” to assemble the single speaker page together. Because it’s done this way, you can therefore use “remove_action” to remove one of these elements.

/**
 * @snippet       List of speaker style three hooks @ Eventin Single Page
 * @author        Themewinter
 * @updated       Eventin WP 2.4.0
 **/

// Before content
add_action("etn_speaker_three_details_before", "speaker_three_details_before" , 15 );

// After content
add_action("etn_speaker_three_details_after", "speaker_three_details_after" , 20 );


// Single content
add_action("etn_speaker_three_designation", "speaker_three_designation" , 10 );
add_action("etn_speaker_three_meta", "speaker_three_meta" , 11 );
add_action("etn_speaker_three_social", "speaker_three_social" , 12 );
add_action("etn_speaker_three_summary", "speaker_three_summary" , 13 );
add_action("etn_schedule_three_header", "schedule_three_header" , 16 );
add_action("etn_schedule_three_session_time", "schedule_three_session_time" , 17 , 2  );
add_action("etn_schedule_three_session_topic", "schedule_three_session_topic" , 18 , 1  );
add_action("etn_schedule_three_session_location", "schedule_three_session_location" , 19 , 1  );

// All Filters
add_filters("etn/speakers/avatar",)
add_filters('etn_speaker_title',)

Template Override using File #

If you want to change something more that may not possible to do with Hooks, you can use the ‘Template‘ override option. Overriding ‘Template’ using a file is similar to ‘Event Template’ overriding. Please click the button and you will get the template overriding documentation.