芝麻web文件管理V1.00
编辑当前文件:/home/fambnfli/public_html/tr/wp-content/themes/fambridge/framework/actions.php
esc_html__( 'Sidebar', 'nifty' ), 'id' => 'primary_widget_area', 'description' => esc_html__( 'Main sidebar', 'nifty' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '
', 'after_title' => '
', )); } } /** * Add excerpt to page */ if ( ! function_exists( 'boldthemes_add_excerpt_to_page' ) ) { function boldthemes_add_excerpt_to_page() { add_post_type_support( 'page', 'excerpt' ); } } /** * Enqueue scripts/styles */ if ( ! function_exists( 'boldthemes_enqueue' ) ) { function boldthemes_enqueue() { wp_enqueue_style( 'boldthemes-framework', get_parent_theme_file_uri( 'framework/css/style.css' ) ); // wp_enqueue_script( 'boldthemes-framework-misc', get_parent_theme_file_uri( 'framework/js/framework_misc.js' ), array( 'jquery' ), '', true ); // used to add inline script with wp_add_inline_script } } /** * Admin style */ if ( ! function_exists( 'boldthemes_wp_admin_style' ) ) { function boldthemes_wp_admin_style() { wp_enqueue_style( 'boldthemes-framework-admin', get_parent_theme_file_uri( 'framework/css/admin_style.css' ), array(), false ); } } /** * Custom fields */ if ( ! function_exists( 'boldthemes_custom_fields' ) ) { function boldthemes_custom_fields() { wp_enqueue_script( 'wp-color-picker' ); wp_enqueue_style( 'wp-color-picker' ); wp_enqueue_script( 'boldthemes-framework-bb-custom-fields', get_parent_theme_file_uri( 'framework/js/bb_custom_fields.js' ), array( 'jquery' ), '', true ); } } function boldthemes_theme_support() { remove_theme_support( 'widgets-block-editor' ); }