max_num_pages > 1 ) : ?> comment_type ) : case 'pingback' : case 'trackback' : // Display trackbacks differently than normal comments. ?>
  • id="comment-">

    ', '' ); ?>

  • id="li-comment-">
    %1$s %2$s', get_comment_author_link(), // Adds Post Author to comments posted by the article writer ( $comment->user_id === $post->post_author ) ? ' ' . __( 'Post author', 'chocolate' ) . '' : '' ); printf( '', esc_url( get_comment_link( $comment->comment_ID ) ), get_comment_time( 'c' ), /* translators: 1: date */ sprintf( __( '%1$s', 'chocolate' ), get_comment_date() ) ); ?>
    comment_approved ) : ?>

    ', '

    ' ); ?>
    __( 'Reply', 'chocolate' ), 'after' => ' ', 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    >Discussion $avatar_defaults[$new_avatar_url] = 'Tired Bush'; //var_dump($avatar_defaults); return $avatar_defaults; } function chocolate_widgets_init() { register_sidebar( array( 'name' => __( 'Main Sidebar', 'chocolate' ), 'id' => 'sidebar-1', 'description' => __( 'Appears on posts and pages except the optional Front Page template, which has its own widgets', 'chocolate' ), 'before_widget' => '', 'before_title' => '

    ', 'after_title' => '

    ', ) ); } add_action( 'widgets_init', 'chocolate_widgets_init' ); function chocolate_customize_register( $wp_customize ) { //All our sections, settings, and controls will be added here $colors = array(); $colors[] = array( 'slug'=>'content_text_color', 'default' => '#333', 'label' => __('Content Text Color', 'Ari') ); $colors[] = array( 'slug'=>'content_link_color', 'default' => '#88C34B', 'label' => __('Content Link Color', 'Ari') ); foreach( $colors as $color ) { // SETTINGS $wp_customize->add_setting( $color['slug'], array( 'default' => $color['default'], 'type' => 'option', 'capability' => 'edit_theme_options' ) ); // CONTROLS $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, $color['slug'], array('label' => $color['label'], 'section' => 'colors', 'settings' => $color['slug']) ) ); } } add_action( 'customize_register', 'chocolate_customize_register' ); if ( ! isset( $content_width ) ) $content_width = 900; add_theme_support( 'automatic-feed-links' ); add_theme_support( "post-thumbnails" ); ?>