get_entry_type($entry_type_id)

get_entry_type function returns the entry type of an entry.

Syntax:

{$archive->get_entry_type($entry_type_id)}
Parameter Default Value Description Sample Value
$entry_type_id n/a integer - enrty  type id 34

Sample Usage:

<h2>Entry type id is {$entry.data._entry_type_id} 
so its Entry type name is <b>
{$archive->get_entry_type({$entry.data._entry_type_id})} </b></h2>

Sample Output:

<h2>Entry type id is 34 so its Entry type name is <b>News</b></h2>