Home › Forums › Other › WP 3.3 Admin bar viewable to all site visitors when Admin logged in › Re: WP 3.3 Admin bar viewable to all site visitors when Admin logged in
December 28, 2011 at 12:54 pm
#93541
cre8tive1
Member
I thought about that as well. I used the Starkers HTML5 as the starting point for the theme. I don’t see anything that would cause the problem.
/**
* @package WordPress
* @subpackage Starkers HTML5
*/
automatic_feed_links();
if ( function_exists('register_sidebar') ) {
register_sidebar(array(
'before_widget' => '',
'after_widget' => ' ',
'before_title' => '',
'after_title' => '
',
));
}
/**
* Conditional Page/Post Navigation Links
* http://www.ericmmartin.com/conditional-pagepost-navigation-links-in-wordpress-redux/
* If more than one page exists, return TRUE.
*/
function show_posts_nav() {
global $wp_query;
return ($wp_query->max_num_pages > 1);
}
// This is the new comment markup - edit as you feel necessary
function html5_comment($comment, $args, $depth) {
$GLOBALS = $comment; ?>
id="comment-">
' ); ?>
%s says:'), get_comment_author_link()) ?>
comment_approved == '0') : ?>
$depth, 'max_depth' => $args))) ?>
}
// Changes the trailing into a trailing
function close_comment() {?>
}
?>