I've customized my php title tag to change appearance of my site in home page and single posts. My code is:
<title><?php is_front_page() ? bloginfo('description') | bloginfo('name') : wp_title(''); ?></title>
It has worked like a charm on single post but on my home page, I can't see "|" character. How to fix it?