'eecad4', 'border' => 'ffffff', 'text' => 'a93255', 'link' => 'dc2b8f', 'url' => 'ca32b7', ); $content_width = 305; function sweet_blossoms_body_classes( $classes ) { // Remove body classes that conflict with legacy CSS $classes = array_merge( array_diff( $classes, array( 'search' ) ) ); return $classes; } add_filter( 'body_class', 'sweet_blossoms_body_classes' ); function sweet_blossoms_widgets_init() { register_sidebar( array( 'name' => __('Sidebar', 'sweet-blossoms'), 'id' => 'sidebar', 'before_widget' => '', 'after_widget' => '', 'before_title' => '

', 'after_title' => '

' ) ); } add_action( 'widgets_init', 'sweet_blossoms_widgets_init' ); add_theme_support( 'automatic-feed-links' ); if ( ! function_exists( 'wp_body_open' ) ) : /** * Fire the wp_body_open action. * * Included for backward compatibility with WordPress versions prior to 5.2. */ function wp_body_open() { do_action( 'wp_body_open' ); } endif; /** * Let WordPress manage the document title. */ add_theme_support( 'title-tag' ); global $commentcount; $commentcount = 1; function sweet_blossoms_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; global $commentcount, $comment_alt; extract($args, EXTR_SKIP); ?>
  • id="comment-">

    comment_author)?$author=substr($comment->comment_author,0,25)."&hellip":$author=substr($comment->comment_author,0,25); echo ''. esc_html( $author ) .''; } ?>  | 

    comment_approved == '0') : ?>

    'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    Name; if ( ! get_user_meta( get_current_user_id(), "$current_theme-theme-update", true ) ) { add_settings_error( 'theme-update', 'theme-update', sprintf( __( 'Howdy! Your current theme, %1$s, has seen an update in the form of a brand new theme, %2$s. For more information, check out our blog post introducing %2$s to the world. %5$s' ), $current_theme, // Old theme 'Bouquet', // New theme admin_url( 'themes.php?s=bouquet' ), // Link to new theme esc_url( 'http://en.blog.wordpress.com/2011/11/10/new-themes-photography-brand-new-day-bouquet/' ), // Link to announcement post sprintf( '×', __( 'Dismiss' ) ) // Dismiss ), 'updated' ); remove_action( 'admin_notices', 'show_tip' ); if ( ! has_filter( 'admin_notices', 'settings_errors' ) ) add_action( 'admin_notices', 'settings_errors' ); wp_enqueue_script( 'dismiss-theme-update', get_template_directory_uri() . '/js/dismiss-theme-update.js', array( 'jquery' ), 20130225 ); wp_localize_script( 'dismiss-theme-update', 'dismissThemeUpdate', array( 'theme' => $current_theme, 'nonce' => wp_create_nonce( "$current_theme-theme-update" ), ) ); } } add_action( 'admin_init', 'sweetblossoms_add_notice' ); /** * Updates user setting when theme update notice was dismissed. */ function sweetblossoms_dismiss_theme_update() { $current_theme = wp_get_theme()->Name; check_ajax_referer( "$current_theme-theme-update", 'nonce' ); if ( $_REQUEST['theme'] == $current_theme ) { update_user_meta( get_current_user_id(), "$current_theme-theme-update", true ); wp_die( 1 ); } } add_action( 'wp_ajax_dismiss_theme_update', 'sweetblossoms_dismiss_theme_update' );