How can I include custom category and tag base in template files?

We were able to get custom category and tag base names using:

get_option('category_base', 'Categories')
get_option('tag_base', 'Tags') 

We wrapped these functions in ucwords() in order to capitalize the base name and replaced “_” with “”:

ucwords(str_replace('_',' ',get_option('category_base', 'Categories'))
ucwords(str_replace('_',' ',get_option('tag_base', 'Tags'))

Finally we wrapped all this with the code for localization and added the single cat/tag title:

printf( __( ucwords(str_replace('_',' ',get_option('tag_base', 'Tags'))).' &raquo; %s', '2010-translucence' ), '<span>' . single_tag_title( '', false ) . '</span>' );

deneme bonusu veren sitelerbahis casinomakrobetceltabetpinbahispolobetpolobet girişpinbahis girişmakrobet girişpulibet girişmobilbahis girişkolaybet giriş