"; switch ($meta[$pos]){ case ('commentcount') : echo ''; echo ''; comments_number('0','1', '%'); echo ''; break; case ('date') : the_time(get_option('date_format')); break; case ('author') : echo 'by '; the_author_link(); break; case ('categories') : echo ' : '; the_category(', '); break; case ('tags') : if (get_the_tags()){ echo ' : '; the_tags(''); } break; case ('author_info') : echo '

About the author

'. ''.get_the_author_meta('description').''. get_avatar(get_the_author_meta('email'), 48). '
'; break; } echo ''; } } /** * Function check wether meta is shown. * * @param string The position/location of the meta. * @return bool meta is active. */ function itx_is_active_single_meta($pos){ if (is_page()) $meta=itx_get_option('single','page_meta'); else $meta=itx_get_option('single','post_meta'); if (!empty($meta[$pos])) return true; } ?>