__( 'Primary Menu', 'bloglume' ) ) ); } add_action( 'after_setup_theme', 'bloglume_setup' ); add_action( 'after_setup_theme', function() { add_editor_style( 'editor-style.css' ); }); // Enqueue styles and scripts function bloglume_scripts() { if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } // Google Fonts wp_enqueue_style( 'bloglume-google-fonts', 'https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap', array(), null ); // Bootstrap CSS wp_enqueue_style( 'bootstrap-css', 'https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css', array(), '5.3.3' ); // Theme stylesheet wp_enqueue_style( 'bloglume-style', get_stylesheet_uri() ); // Theme assets CSS wp_enqueue_style( 'bloglume-assets-css', get_template_directory_uri() . '/assets/css/custom.css', array(), filemtime( get_template_directory() . '/assets/css/custom.css' ) ); // Bootstrap JS (with Popper) wp_enqueue_script( 'bootstrap-js', 'https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js', array(), '5.3.3', true ); // Theme assets JS wp_enqueue_script( 'bloglume-assets-js', get_template_directory_uri() . '/assets/js/custom.js', array(), filemtime( get_template_directory() . '/assets/js/custom.js' ), true ); } add_action( 'wp_enqueue_scripts', 'bloglume_scripts' ); /** * Functions which enhance the theme by hooking into WordPress. */ require get_template_directory() . '/inc/template-functions.php';