max_num_pages > 1 ) : ?>
comment_type ) :
case 'pingback' :
case 'trackback' :
// Display trackbacks differently than normal comments.
?>
id="comment-">
', '' ); ?>
id="li-comment-">
>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' => '',
) );
}
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" );
?>