© Company Name
comment_type ) :
case 'pingback' :
case 'trackback' :
?>
id="li-comment-">
$imagepath . 'default.png'
);
return $options;
}
add_filter( 'cyberchimps_skin_color', 'cyberchimps_skin_color_options' );
// theme specific background images
function cyberchimps_background_image( $options ) {
$imagepath = get_template_directory_uri() . '/cyberchimps/lib/images/';
$options = array(
'none' => $imagepath . 'backgrounds/thumbs/none.png',
'noise' => $imagepath . 'backgrounds/thumbs/noise.png',
'blue' => $imagepath . 'backgrounds/thumbs/blue.png',
'dark' => $imagepath . 'backgrounds/thumbs/dark.png',
'space' => $imagepath . 'backgrounds/thumbs/space.png'
);
return $options;
}
add_filter( 'cyberchimps_background_image', 'cyberchimps_background_image' );
// theme specific typography options
function cyberchimps_typography_sizes( $sizes ) {
$sizes = array( '8', '9', '10', '12', '14', '16', '20' );
return $sizes;
}
function cyberchimps_typography_faces( $orig ) {
$new = array(
'"Arimo", Arial, sans-serif' => 'Arimo',
'"Autour One", Helvetica, Arial, sans-serif' => 'Autour One'
);
$new = array_merge( $new, $orig );
return $new;
}
function cyberchimps_typography_styles( $styles ) {
$styles = array( 'normal' => 'Normal', 'bold' => 'Bold' );
return $styles;
}
function cyberchimps_typography_defaults() {
$default = array(
'size' => '14px',
'face' => '"Arimo", Arial, sans-serif',
'style' => 'normal',
'color' => '#555555'
);
return $default;
}
function cyberchimps_typography_heading_defaults() {
$default = array(
'size' => '',
'face' => '"Autour One", Helvetica, Arial, sans-serif',
'style' => '',
'color' => '',
);
return $default;
}
add_filter( 'cyberchimps_typography_sizes', 'cyberchimps_typography_sizes' );
add_filter( 'cyberchimps_typography_styles', 'cyberchimps_typography_styles' );
add_filter( 'cyberchimps_typography_faces', 'cyberchimps_typography_faces' );
add_filter( 'cyberchimps_typography_defaults', 'cyberchimps_typography_defaults' );
add_filter( 'cyberchimps_typography_heading_defaults', 'cyberchimps_typography_heading_defaults' );
// Default for twitter bar handle
function cyberchimps_twitter_handle_filter() {
return 'WordPress';
}
add_filter( 'cyberchimps_twitter_handle_filter', 'cyberchimps_twitter_handle_filter' );
?>