mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-23 14:54:33 +00:00
Reduce font size for long titles
git-svn-id: https://develop.svn.wordpress.org/trunk@9583 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -76,9 +76,12 @@ unset($hook_suffixes, $hook_suffix);
|
||||
$blog_name = get_bloginfo('name', 'display');
|
||||
if ( '' == $blog_name )
|
||||
$blog_name = ' ';
|
||||
$title_class = '';
|
||||
if ( mb_strlen($blog_name, 'UTF-8') > 30 )
|
||||
$title_class = 'class="long-title"';
|
||||
?>
|
||||
|
||||
<img id="logo50" src="images/wp-logo.gif" alt="" /> <h1><a href="<?php echo trailingslashit( get_bloginfo('url') ); ?>" title="<?php _e('Visit site') ?>"><?php echo $blog_name ?></a></h1>
|
||||
<img id="logo50" src="images/wp-logo.gif" alt="" /> <h1 <?php echo $title_class ?>><a href="<?php echo trailingslashit( get_bloginfo('url') ); ?>" title="<?php _e('Visit site') ?>"><?php echo $blog_name ?></a></h1>
|
||||
|
||||
<div id="wphead-info">
|
||||
<div id="user_info">
|
||||
|
||||
Reference in New Issue
Block a user