Breadcrumb tweaks
git-svn-id: http://svn.automattic.com/wordpress/trunk@8994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d02b08f07c
commit
1354cd8012
|
@ -80,7 +80,14 @@ unset($hook_suffixes, $hook_suffix);
|
|||
<div id="sidemenu-bg"><br /></div>
|
||||
<div id="wpcontent">
|
||||
<div id="wphead">
|
||||
<h1><?php if ( '' == get_bloginfo('name', 'display') ) echo ' '; else echo get_bloginfo('name', 'display'); ?><span id="breadcrumb"><a href="index.php"><?php _e('Dashboard') ?></a> › <?php echo $title ?></span></h1>
|
||||
<?php
|
||||
if ( 'index.php' == $pagenow ) {
|
||||
$breadcrumb = __('Dashboard');
|
||||
} else {
|
||||
$breadcrumb = '<a href="index.php">' . __('Dashboard') . '</a> › ' . $title;
|
||||
}
|
||||
?>
|
||||
<h1><?php if ( '' == get_bloginfo('name', 'display') ) echo ' '; else echo get_bloginfo('name', 'display'); ?><span id="breadcrumb"><?php echo $breadcrumb ?></span></h1>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
|
Loading…
Reference in New Issue