예제 #1
0
파일: functions.php 프로젝트: basdog22/Qool
function halcyonic_css()
{
    $settings = theme_settings();
    if ($settings['use_jscss'] == 'Yes') {
        ?>
	<noscript>
	<?php 
        themecss();
        ?>
	</noscript>
	<?php 
        themejs();
        ?>
	<script src="<?php 
        qoolinfo('home');
        ?>
/<?php 
        template_path();
        ?>
/css/5grid/init.js?use=mobile,desktop,1000px&amp;mobileUI=1&amp;mobileUI.theme=none&amp;mobileUI.titleBarHeight=60&amp;mobileUI.openerWidth=52"></script>
	<?php 
    } else {
        ?>
	<?php 
        themecss();
        ?>
	<?php 
    }
    ?>
	<!--[if IE 9]>
	<link rel="stylesheet" href="<?php 
    qoolinfo('home');
    ?>
/<?php 
    template_path();
    ?>
/css/style-ie9.css" />
	<![endif]-->
	<?php 
}
예제 #2
0
파일: layer.php 프로젝트: basdog22/Qool
function wp_head()
{
    $_SESSION['qool_main_include'] = false;
    google_jQuery();
    if (!$_SESSION['wp_init']) {
        do_action('init');
        $_SESSION['wp_init'] = true;
    }
    do_action('wp_enqueue_scripts');
    themecss();
    themejs();
    do_action('wp_print_scripts');
    qool_header();
    do_action('wp_head');
    $_SESSION['have_posts_called'] = false;
    $_SESSION['qool_main_include'] = false;
    $_SESSION['num_posts_called'] = 0;
}
예제 #3
0
파일: functions.php 프로젝트: basdog22/Qool
function arcana_css()
{
    $settings = theme_settings();
    if ($settings['use_jscss'] == 'Yes') {
        ?>
	<noscript>
	<?php 
        themecss();
        ?>
	</noscript>
	<?php 
        themejs();
        ?>
	<script src="<?php 
        qoolinfo('home');
        ?>
/<?php 
        template_path();
        ?>
/css/5grid/init.js?use=mobile,desktop,1000px&amp;mobileUI=1&amp;mobileUI.theme=none&amp;mobileUI.titleBarHeight=60&amp;mobileUI.openerWidth=52"></script>
	<?php 
    } else {
        ?>
	<?php 
        themecss();
        ?>
	<?php 
    }
    ?>
	<link rel="stylesheet" href="<?php 
    qoolinfo('home');
    ?>
/<?php 
    template_path();
    ?>
/themes/default/default.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="<?php 
    qoolinfo('home');
    ?>
/<?php 
    template_path();
    ?>
/themes/light/light.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="<?php 
    qoolinfo('home');
    ?>
/<?php 
    template_path();
    ?>
/themes/dark/dark.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="<?php 
    qoolinfo('home');
    ?>
/<?php 
    template_path();
    ?>
/themes/bar/bar.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="<?php 
    qoolinfo('home');
    ?>
/<?php 
    template_path();
    ?>
/nivo-slider.css" type="text/css" media="screen" />
	<?php 
    google_jqueryui();
    ?>
	<!--[if IE 9]>
	<link rel="stylesheet" href="<?php 
    qoolinfo('home');
    ?>
/<?php 
    template_path();
    ?>
/css/style-ie9.css" />
	<![endif]-->
	<script src="<?php 
    qoolinfo('home');
    ?>
/<?php 
    template_path();
    ?>
/jquery.yabox.min.js"></script>
	<script>
	$(document).ready(function(){
		
		$('.thumbnails a img').yabox({
			fullClass: 'fullPolaroid',
			cbs: {
				show: $().yabox.animated.show(),
				hide: $().yabox.animated.hide()
			},
			hideOnClick: true,
			$content: $(this).attr('src')
		});
	});

	</script>
	
	<?php 
}