Header admin panel. * */ function bare_admin_header_style() { ?> __( 'Header Menu' ) ) ); } add_action( 'init', 'register_bare_menus' ); if ( function_exists('register_sidebar') ){ register_sidebar(); } if ( ! function_exists( 'bare_comment' ) ) : function bare_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; echo '
  • ', '', $comment->comment_author, ' said: ', $comment->comment_content, '
  • ' )); } endif; if ( ! function_exists( 'bare_posted_in' ) ) : /** * Prints HTML with meta information for the current post (category, tags and permalink). */ function bare_posted_in() { // Retrieves tag list of current post, separated by commas. $tag_list = get_the_tag_list( '', ', ' ); if ( $tag_list ) { $posted_in = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the permalink.', 'bare' ); } elseif ( is_object_in_taxonomy( get_post_type(), 'category' ) ) { $posted_in = __( 'This entry was posted in %1$s. Bookmark the permalink.', 'bare' ); } else { $posted_in = __( 'Bookmark the permalink.', 'bare' ); } // Prints the string, replacing the placeholders. printf( $posted_in, get_the_category_list( ', ' ), $tag_list, get_permalink(), the_title_attribute( 'echo=0' ) ); } endif; if ( ! function_exists( 'bare_posted_on' ) ) : /** * Prints HTML with meta information for the current post—date/time and author. */ function bare_posted_on() { printf( __( 'Posted on %2$s by %3$s', 'bare' ), 'meta-prep meta-prep-author', sprintf( '%3$s', get_permalink(), esc_attr( get_the_time() ), get_the_date() ), sprintf( '%3$s', get_author_posts_url( get_the_author_meta( 'ID' ) ), sprintf( esc_attr__( 'View all posts by %s', 'bare' ), get_the_author() ), get_the_author() ) ); } endif; ?>