__('Header Top Menu', 'abaya'), 'nav-menu'=>__('Primary Menu', 'abaya'), 'footer-menu'=>__('Footer Menu', 'abaya') ) ); add_theme_support('html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption' ) ); add_editor_style( array('editor-style.css', abaya_google_web_fonts_url())); $args = array( 'default-color' => '', 'default-image' => '', ); add_theme_support( 'custom-background', $args); $args = array( 'default-text-color' => '5b5b5b', 'default-image' => '', 'height' => 250, 'width' => 1060, 'max-width' => 2000, 'flex-height' => true, 'flex-width' => true, 'random-default' => false, 'wp-head-callback' => 'abaya_header_style', ); add_theme_support('custom-header', $args ); add_theme_support('custom-logo', array( 'height' => 100, 'width' => 300, 'flex-width' => true, 'flex-height' => true, )); } endif; // abaya_setup add_action('after_setup_theme', 'abaya_setup'); add_filter('comments_open', 'abaya_comments_open', 10, 2 ); function abaya_comments_open( $open, $post_id ) { $post = get_post( $post_id ); if (get_post_meta($post->ID, 'Allow Comments', true)) {$open = true;} return $open; } if(!function_exists('abaya_comment_nav')) : function abaya_comment_nav() { // Are there comments to navigate through? if ( get_comment_pages_count() > 1 && get_option('page_comments')): ?>