© Company Name

comment_type ) : case 'pingback' : case 'trackback' : ?>
  • id="li-comment-">
    ' . __( 'says:', 'business-lite' ) . '', 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', 1 ); // 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( $faces ) { $faces = array( 'Arial, Helvetica, sans-serif' => 'Arial', 'Arial Black, Gadget, sans-serif' => 'Arial Black', 'Comic Sans MS, cursive' => 'Comic Sans MS', 'Courier New, monospace' => 'Courier New', 'Georgia, serif' => 'Georgia', 'Impact, Charcoal, sans-serif' => 'Impact', 'Lucida Console, Monaco, monospace' => 'Lucida Console', 'Lucida Sans Unicode, Lucida Grande, sans-serif' => 'Lucida Sans Unicode', 'Palatino Linotype, Book Antiqua, Palatino, serif' => 'Palatino Linotype', 'Tahoma, Geneva, sans-serif' => 'Tahoma', 'Times New Roman, Times, serif' => 'Times New Roman', 'Trebuchet MS, sans-serif' => 'Trebuchet MS', 'Verdana, Geneva, sans-serif' => 'Verdana', 'Symbol' => 'Symbol', 'Webdings' => 'Webdings', 'Wingdings, Zapf Dingbats' => 'Wingdings', 'MS Sans Serif, Geneva, sans-serif' => 'MS Sans Serif', 'MS Serif, New York, serif' => 'MS Serif', ); return $faces; } function cyberchimps_typography_styles( $styles ) { $styles = array( 'normal' => 'Normal', 'bold' => 'Bold' ); return $styles; } add_filter( 'cyberchimps_typography_sizes', 'cyberchimps_typography_sizes' ); add_filter( 'cyberchimps_typography_faces', 'cyberchimps_typography_faces' ); add_filter( 'cyberchimps_typography_styles', 'cyberchimps_typography_styles' ); //image size for the blog page add_image_size( 'blog-page', 1500, 200, true ); //830 pixels wide and 180 pixels tall //change cyberchimps featured image to use this new image size function cyberchimps_featured_image_size() { return 'blog-page'; } add_filter( 'cyberchimps_post_thumbnail_size', 'cyberchimps_featured_image_size' ); //Register Secondary Menu function cyberchimps_secondary_menu() { register_nav_menu( 'secondary', __( 'Secondary Menu', 'business-lite' ) ); } add_action( 'init', 'cyberchimps_secondary_menu' ); /****************************************** ************** Custom meta data ********** ******************************************/ //Get the meta date function cyberchimps_posted_on() { if( is_single() ) { $show_date = ( cyberchimps_get_option( 'single_post_byline_date', 1 ) ) ? cyberchimps_get_option( 'single_post_byline_date', 1 ) : false; } elseif( is_archive() ) { $show_date = ( cyberchimps_get_option( 'archive_post_byline_date', 1 ) ) ? cyberchimps_get_option( 'archive_post_byline_date', 1 ) : false; } else { $show_date = ( cyberchimps_get_option( 'post_byline_date', 1 ) ) ? cyberchimps_get_option( 'post_byline_date', 1 ) : false; } $posted_on = sprintf( '', esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), ( $show_date ) ? esc_html( get_the_date() ) : '' ); if( $show_date ) { apply_filters( 'cyberchimps_posted_on', $posted_on ); echo $posted_on; } } //Get the meta author function cyberchimps_posted_by() { if( is_single() ) { $show_author = ( cyberchimps_get_option( 'single_post_byline_author', 1 ) ) ? cyberchimps_get_option( 'single_post_byline_author', 1 ) : false; } elseif( is_archive() ) { $show_author = ( cyberchimps_get_option( 'archive_post_byline_author', 1 ) ) ? cyberchimps_get_option( 'archive_post_byline_author', 1 ) : false; } else { $show_author = ( cyberchimps_get_option( 'post_byline_author', 1 ) ) ? cyberchimps_get_option( 'post_byline_author', 1 ) : false; } $posted_by = sprintf( '', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( __( 'View all posts by %s', 'cyberchimps_core' ), get_the_author() ) ), ( $show_author ) ? esc_html( get_the_author() ) : '' ); if( $show_author ) { apply_filters( 'cyberchimps_posted_by', $posted_by ); echo $posted_by; } } //categories function cyberchimps_posted_in() { global $post; if( is_single() ) { $show = ( cyberchimps_get_option( 'single_post_byline_categories', 1 ) ) ? cyberchimps_get_option( 'single_post_byline_categories', 1 ) : false; } elseif( is_archive() ) { $show = ( cyberchimps_get_option( 'archive_post_byline_categories', 1 ) ) ? cyberchimps_get_option( 'archive_post_byline_categories', 1 ) : false; } else { $show = ( cyberchimps_get_option( 'post_byline_categories', 1 ) ) ? cyberchimps_get_option( 'post_byline_categories', 1 ) : false; } if( $show ): $categories_list = get_the_category_list( ', ' ); if( $categories_list ) : $cats = $categories_list; ?> ' . single_cat_title( '', false ) . '' ); } elseif( is_tag() ) { $title = sprintf( __( 'Tag Archives: %s', 'business-lite' ), '' . single_tag_title( '', false ) . '' ); } elseif( is_author() ) { /* Queue the first post, that way we know * what author we're dealing with (if that is the case). */ the_post(); $title = sprintf( __( 'Author Archives: %s', 'business-lite' ), '' . get_the_author() . '' ); /* Since we called the_post() above, we need to * rewind the loop back to the beginning that way * we can run the loop properly, in full. */ rewind_posts(); } elseif( is_day() ) { $title = sprintf( __( 'Daily Archives: %s', 'business-lite' ), '' . get_the_date() . '' ); } elseif( is_month() ) { $title = sprintf( __( 'Monthly Archives: %s', 'business-lite' ), '' . get_the_date( 'F Y' ) . '' ); } elseif( is_year() ) { $title = sprintf( __( 'Yearly Archives: %s', 'business-lite' ), '' . get_the_date( 'Y' ) . '' ); } elseif( is_search() ) { $title = sprintf( __( 'Search Results for: %s', 'business-lite' ), '' . get_search_query() . '' ); } else { $title = ''; } return $title; } // header drag and drop default function cyberchimps_business_lite_header_drag_and_drop_default() { $option = array( 'cyberchimps_logo' => __( 'Logo', 'cyberchimps_elements' ) ); return $option; } add_filter( 'header_drag_and_drop_default', 'cyberchimps_business_lite_header_drag_and_drop_default', 20 ); //add header drag and drop options function cyberchimps_business_lite_header_drag_and_drop_options() { $options = array( 'cyberchimps_sitename_register' => __( 'Logo + Login', 'cyberchimps_elements' ), 'cyberchimps_logo_search' => __( 'Logo + Search', 'cyberchimps_elements' ), 'cyberchimps_logo' => __( 'Logo', 'cyberchimps_elements' ) ); return $options; } add_filter( 'header_drag_and_drop_options', 'cyberchimps_business_lite_header_drag_and_drop_options', 15 ); //Create header drag and drop display on frontend function cyberchimps_header_display() { //get selected header elements $selected = cyberchimps_get_option( 'header_section_order' ); //loop through results and display if( is_array( $selected ) ) { foreach( $selected as $value ) { switch( $value ) { case 'cyberchimps_logo_search': ?>
    | Welcome back user_login ); ?> |