true, )); add_theme_support('post-thumbnails'); add_theme_support('post-formats', array('aside', 'quote', 'link', 'status','gallery', 'image', 'video', 'audio', 'chat')); add_theme_support( 'custom-logo' ); add_theme_support( 'automatic-feed-links' ); add_theme_support( 'html5', array( 'gallery', 'caption', 'search-form', 'comment-form', 'comment-list' ) ); add_theme_support( 'title-tag' ); /* ============================================================= Sidebars & Widgets Functions ============================================================= */ function authorauthor_widget_setup() { register_sidebar( array( 'name' => 'Sidebar', 'id' => 'sidebar-1', 'class' => 'custom', 'description' => 'Primary Sidebar', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); } add_action('widgets_init','authorauthor_widget_setup'); /* ============================================================= Comment Reply Functions ============================================================= */ function authorauthor_enqueue_comments_reply() { if( is_singular() && comments_open() && ( get_option( 'thread_comments' ) == 1) ) { // Load comment-reply.js (into footer) wp_enqueue_script( 'comment-reply', 'wp-includes/js/comment-reply', array(), false, true ); } } add_action( 'wp_enqueue_scripts', 'authorauthor_enqueue_comments_reply' ); /* ============================================================= Get Tags Functions ============================================================= */ /* function authorauthor_tags() { $wpbtags = get_tags(); foreach ($wpbtags as $tag) { $string .= ''. $tag->name . ''. $tag->count .'' . "\n"; } return $string; } add_action('wpbtags' , 'authorauthor_tags' ); */