__( 'Main Sidebar', 'BlogTheme' ),
'id' => 'sidebar-1',
'description' => __( 'Widgets in this area will be shown on all posts and pages.', 'BlogTheme' ),
'before_widget' => '
',
'after_widget' => ' ',
'before_title' => '',
) );
}
/// COMMENT
function mytheme_comment($comment, $args, $depth) {
if ( 'div' === $args['style'] ) {
$tag = 'div';
$add_below = 'comment';
} else {
$tag = 'li';
$add_below = 'div-comment';
}
?>
id="comment-">
";
echo "Tags \n";
foreach (get_the_tags() as $tag)
{
echo "term_id);
echo "\">".$tag->name." \n";
}
echo "";
}
if ( ! isset( $content_width ) ) {
$content_width = 900;
}
// add a microid to all the comments
function comment_add_microid($classes) {
$c_email=get_comment_author_email();
$c_url=get_comment_author_url();
if (!empty($c_email) && !empty($c_url)) {
$microid = 'microid-mailto+http:sha1:' . sha1(sha1('mailto:'.$c_email).sha1($c_url));
$classes[] = $microid;
}
return $classes;
}
add_filter('comment_class','comment_add_microid');
// Theme customization
add_theme_support( 'title-tag' );
add_image_size( 'full-width-horizontal', 640, 320,true );
add_theme_support( 'automatic-feed-links' );
add_theme_support( "post-thumbnails" );
//add_theme_support( "custom-header", $args );
//add_theme_support( "custom-background", $args );
add_editor_style();
wp_link_pages( array(
'before' => '' . __( 'Pages:', 'BlogTheme' ) . ' ',
'after' => '
',
'link_before' => '',
'link_after' => ' ',
) );