Return to Snippet

Revision: 34174
at October 19, 2010 01:21 by jhonqwerty


Initial Code
<title><?php bloginfo('name');?> - <?php if(is_home()):?><?php bloginfo('description');?><?php endif;?><?php if(is_category()):?><?php single_cat_title();?><?php endif;?><?php if(is_single()||is_page()):?><?php the_title();?><?php endif;?></title>

Initial URL


Initial Description
A simple set of conditions to get dynamic title tags in a wordpress template.

Initial Title
Wordpress variable title tag

Initial Tags
wordpress

Initial Language
PHP