'; } else { echo ''; } if (dc_option('dc_show_apple_logo')) { echo dc_option('dc_apple_iphone_icon') != "" ? ('') : ''; echo dc_option('dc_apple_iphone_retina_icon') != "" ? ('') : ''; echo dc_option('dc_apple_ipad_icon') != "" ? ('') : ''; echo dc_option('dc_apple_ipad_retina_icon') != "" ? ('') : ''; } } } //Comments On Pages if (!function_exists("comments_page")) { function comments_page(){ if(dc_option('dc_blog_comments') && is_page()){ comments_template(); } } } //Logo Option if (!function_exists("logo")) { function logo(){ if( dc_option( 'dc_show_logo' ) == 0 ){ ?> <?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?> /* Body Style */ body{ } /* Heading Style */ h1, h2, h3, h4, h5, h6{ } /*Link Color*/ a { } /*Link Hover Color*/ a:hover { } /* Header Style */ #header { } /* Custom CSS */ $value) { # code... if(dc_option($value['name']) !=""){ echo ''; } } } global $dc_socials; $dc_socials = array( 'facebook' => array( 'name' => 'dc_facebook_username', 'link' => 'http://www.facebook.com/*', ), 'google-plus' => array( 'name' => 'dc_googleplus_username', 'link' => 'https://plus.google.com/u/0/*' ), 'twitter' => array( 'name' => 'dc_twitter_username', 'link' => 'http://twitter.com/*', ), 'youtube-play' => array( 'name' => 'dc_youtube_username', 'link' => 'http://www.youtube.com/user/*', ) ); //Show Admin Bar if(!function_exists('dc_adminbar')){ function dc_adminbar(){ if(dc_option('dc_admin_bar')==1){ if(current_user_can( 'manage_options' )) return true; else return false; } add_filter('show_admin_bar','dc_adminbar'); } } if(!function_exists('dc_admin_logo')){ function dc_admin_logo(){ if(dc_option('dc_logo_login')){ ?> is_search ) { $query->set('post_type', 'post'); } return $query; } } add_filter('pre_get_posts','dc_exclude_search_pages'); //} function get_video_ID($link){ if( empty($link) ) return false; $path = trim(parse_url($link, PHP_URL_PATH), '/'); $query_string = parse_url($link, PHP_URL_QUERY); parse_str($query_string, $output); if( empty($output) ){ return $path; } else { return $output['v']; } }