© Company Name

comment_type ) : case 'pingback' : case 'trackback' : ?>
  • id="li-comment-">
    ' . __( 'says:', 'cyberchimps' ) . '', sprintf( '%s', get_comment_author_link() ) ); ?>
    comment_approved == '0' ) : ?>
    $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    $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( '"Noto Sans", Arial, sans-serif' => 'Noto Sans', '"Imprima", Helvetica, Arial, sans-serif' => 'Imprima' ); $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' => '"Noto Sans", Arial, sans-serif', 'style' => 'normal', 'color' => '#555555' ); return $default; } function cyberchimps_typography_heading_defaults() { $default = array( 'size' => '', 'face' => '"Imprima", 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' ); /** * Adds option for header image * * @param $original array * * @return array */ function cyberchimps_add_theme_options( $original ) { $new_field[][1] = array( 'name' => __( 'Header Image', 'cyberchimps' ), 'id' => 'header_image', 'std' => '', 'type' => 'upload', 'desc' => __( 'The image used for the header needs to be a large image. We recommend a minimum width of 1000px and a maximum height of 550px', 'cyberchimps' ), 'std' => get_template_directory_uri() . '/images/header.jpg', 'section' => 'cyberchimps_header_options_section', 'heading' => 'cyberchimps_header_heading' ); $new_fields = cyberchimps_array_field_organizer( $original, $new_field ); return $new_fields; } add_filter( 'cyberchimps_field_filter', 'cyberchimps_add_theme_options', 10 ); /** * Removes unwanted fields * * @param $orig array field options * * @return array */ function cyberchimps_remove_default_options( $orig ) { $remove = array( 'searchbar' ); $new_options = cyberchimps_remove_options( $orig, $remove ); return $new_options; } add_filter( 'cyberchimps_field_filter', 'cyberchimps_remove_default_options' ); /** * Removes the banner section * * @param $orig array * * @return array */ function cyberchimps_header_drag_and_drop_defaults( $orig ) { // Just remove banner as there is no styling for this unset( $orig['cyberchimps_banner'] ); return $orig; } add_filter( 'header_drag_and_drop_options', 'cyberchimps_header_drag_and_drop_defaults', 20 ); ?>