'primary', 'name' => esc_html_x( 'Primary', 'sidebar', 'airy' ), 'description' => esc_html__( 'After content.', 'airy' ) ) ); } /** * Load scripts for the front end. * */ function airy_enqueue_scripts() { /* main scripts file */ wp_enqueue_script( 'airy-theme-scripts', get_template_directory_uri() . '/js/theme-scripts.js', array( 'jquery' ), null, true ); } /** * Load stylesheets for the front end. * */ function airy_enqueue_styles() { // Load parent theme stylesheet if child theme is active. if ( is_child_theme() ) wp_enqueue_style( 'hybrid-parent' ); // Load active theme stylesheet. wp_enqueue_style( 'editor', get_stylesheet_directory_uri() . "/editor.css" ); wp_enqueue_style( 'hybrid-style' ); } /** * Fix skip link focus in IE11. * */ function airy_skip_link_focus_fix() { ?> post_content ) ); $minutes = floor( $words / 120 ); $seconds = floor( $words % 120 / ( 120 / 60 ) ); if ( $minutes >= 1 ) { $estimated_time = $minutes . ' min'; } else { $estimated_time = '1 min'; } return $estimated_time; }