mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Breadcrumb tweaks
git-svn-id: https://develop.svn.wordpress.org/trunk@8994 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user