__( 'Secondary Navigation', 'blogtemplate' ), ) ); register_nav_menus( array( 'primary' => __( 'Primary Navigation', 'blogtemplate' ), ) ); function my_page_menu_args($args) { $args['echo'] = false; return $args; } add_filter('wp_page_menu_args', 'my_page_menu_args'); /*Widget*/ if (function_exists('register_sidebar')) { register_sidebar(array( 'name'=> 'Sidebar Widgets', 'id' => 'Sidebar Widgets', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', )); } add_theme_support( 'post-formats', array('aside', 'gallery', 'link', 'image', 'quote', 'status', 'audio', 'chat', 'video')); // Add 3.1 post format theme support. //Enable RSS Feeds add_theme_support( 'automatic-feed-links' ); //Enable Post Thumbnail add_theme_support('post-thumbnails'); // Setting the dimentions for the featured image. set_post_thumbnail_size(150,150,true); add_image_size('Featured_image',150,150); add_image_size('Sidebar_image', 100,100); /** * Display navigation to next/previous pages when applicable */ function blogtemplate_content_nav( $nav_id ) { global $wp_query; if ( $wp_query->max_num_pages > 1 ) : ?> comment_type ) : case 'pingback' : case 'trackback' : ?>
  • ', '' ); ?>

  • id="li-comment-">
    comment_parent ) $avatar_size = 39; echo get_avatar( $comment, $avatar_size ); /* translators: 1: comment author, 2: date and time */ printf( __( '%1$s on %2$s said:', 'blogtemplate' ), sprintf( '%s', get_comment_author_link() ), sprintf( '', esc_url( get_comment_link( $comment->comment_ID ) ), get_comment_time( 'c' ), /* translators: 1: date, 2: time */ sprintf( __( '%1$s at %2$s', 'blogtemplate' ), get_comment_date(), get_comment_time() ) ) ); ?> ', '' ); ?>
    comment_approved == '0' ) : ?>
    __( 'Reply ', 'blogtemplate' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    Posted on by ', 'blogtemplate' ), esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), sprintf( esc_attr__( 'View all posts by %s', 'blogtemplate' ), get_the_author() ), esc_html( get_the_author() ) ); } endif; ?>