__( 'Logo + Icons', 'cyberchimps_core' ) ) );
foreach( $default as $key => $val ){
$defaults[] = $key;
}
// call the database results and if they don't exist then call the defaults from above
$header_section = cyberchimps_get_option( 'header_section_order', $defaults );
$header_section = ( $header_section == '' ) ? $defaults : $header_section;
if ( is_array( $header_section ) ) {
foreach( $header_section as $func ) {
do_action($func);
}
}
}
add_action('cyberchimps_header', 'cyberchimps_header_section_order');
// Logo/Icons header element.
function cyberchimps_logo_icons() { ?>
';
}
if ( !empty($facebook_display) ) {
$facebook_url = cyberchimps_get_option('facebook_url');
$output .= '
';
}
if ( !empty($google_display) ) {
$google_url = cyberchimps_get_option('google_url');
$output .= '
';
}
if ( !empty($flickr_display) ) {
$flickr_url = cyberchimps_get_option('flickr_url');
$output .= '
';
}
if ( !empty($pinterest_display) ) {
$pinterest_url = cyberchimps_get_option('pinterest_url');
$output .= '
';
}
if ( !empty($linkedin_display) ) {
$linkedin_url = cyberchimps_get_option('linkedin_url');
$output .= '
';
}
if ( !empty($youtube_display) ) {
$youtube_url = cyberchimps_get_option('youtube_url');
$output .= '
';
}
if ( !empty($googlemaps_display) ) {
$googlemaps_url = cyberchimps_get_option('googlemaps_url');
$output .= '
';
}
if ( !empty($email_display) ) {
$email_url = cyberchimps_get_option('email_url');
$output .= '
';
}
if ( !empty($rss_display) ) {
//bloginfo('rss2_url')
$rss_url = cyberchimps_get_option('rss_url');
$output .= '
';
}
?>