__( 'Main Menu', 'authentic-blog' ), 'secondary_menu' => __( 'Secondary Menu', 'authentic-blog' ), ) ); // Register dynamic title & tagline for the HTML title tag add_theme_support( 'title-tag' ); // Register custom header for the theme add_theme_support( 'custom-header' ); // Register post thumbnails (featured image) for the theme add_theme_support( 'post-thumbnails' ); // Register post formats add_theme_support( 'post-formats', array( 'gallery', 'video', 'audio', 'link', 'quote' ) ); // Register custom logo for the theme add_theme_support( 'custom-logo', array( 'height' => 66, 'width' => 200, 'flex-height' => true, 'flex-width' => true, ) ); // Register custom background for the theme add_theme_support( 'custom-background', array( 'default-size' => 'cover', 'default-repeat' => 'no-repeat', 'default-color' => 'ffffff', 'flex-width' => true, ) ); // Register HTML5 markup for specific theme elements add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption' ) ); // Register feed links for the post, comments, etc. add_theme_support( 'automatic-feed-links' ); // Register responsive embed option for the theme add_theme_support( 'responsive-embeds' ); // Register Align Wide (wide and full-width alignments for contents) for the theme add_theme_support( 'align-wide' ); // Register editor sytem for the WordPress admin panel based on the theme add_theme_support( 'editor-styles' ); add_editor_style( 'assets/css/editor-style.css' ); // Register block styles (Gutenberg) for the theme add_theme_support( 'wp-block-styles' ); } add_action( 'after_setup_theme', 'tn_configuration', 0 ); /** Register sidebars for the theme */ function tn_register_sidebars() { // For Blog Pages register_sidebar( array( 'name' => __( 'Blog Sidebar', 'authentic-blog' ), 'id' => 'blog_sidebar', 'description' => __( 'This is a blog sidebar placed in the Blog and Single Blog Pages. You can add your Widgets Here.', 'authentic-blog' ), 'before_widget' => '
', 'before_title' => '