function biz_vektor_theme_style() { $options = biz_vektor_get_theme_options(); // Set bbiz_vektor_theme_styles global $biz_vektor_theme_styles; biz_vektor_theme_styleSetting(); // load default if (!$options['theme_style']) { global $bizVektorOptions_default; bizVektorOptions_default(); $options['theme_style'] = $bizVektorOptions_default['theme_style']; } $themePath = $biz_vektor_theme_styles[$options['theme_style']]['cssPath']; print '<!-- BizVektorStyle-->' . "\n"; print '<link rel="stylesheet" type="text/css" media="all" href="' . $themePath . '" />' . "\n"; print '<!-- /BizVektorStyle-->' . "\n"; // wp_enqueue_style( 'theme', $themePath , false, '2013-10-19'); $themePathOldIe = $biz_vektor_theme_styles[$options['theme_style']]['cssPathOldIe']; if ($themePathOldIe) { print '<!--[if lte IE 8]>' . "\n"; print '<link rel="stylesheet" type="text/css" media="all" href="' . $themePathOldIe . '" />' . "\n"; print '<![endif]-->' . "\n"; } }
<?php $options = biz_vektor_get_theme_options(); if (!isset($options['top3PrDisplay'])) { // if Home Pr display // load default bizVektorOptions_default(); global $bizVektorOptions_default; for ($i = 1; $i <= 3;) { if (!$options['pr' . $i . '_title']) { $options['pr' . $i . '_title'] = $bizVektorOptions_default['pr' . $i . '_title']; } if (!$options['pr' . $i . '_description']) { $options['pr' . $i . '_description'] = $bizVektorOptions_default['pr' . $i . '_description']; } // if ( !$options['pr'.$i.'_link'] ) // $options['pr'.$i.'_link'] = $bizVektorOptions_default['pr'.$i.'_link']; // if ( !$options['pr'.$i.'_image'] ) // $options['pr'.$i.'_image'] = $bizVektorOptions_default['pr'.$i.'_image']; // if ( !$options['pr'.$i.'_image_s'] ) // $options['pr'.$i.'_image_s'] = $bizVektorOptions_default['pr'.$i.'_image_s']; $i++; } ?> <!-- [ #topPr ] --> <div id="topPr"> <div id="topPrLeft" class="topPrOuter"> <div class="topPrInner"> <h3 class="topPrTit"><a href="<?php echo esc_url($options['pr1_link']); ?>