예제 #1
0
파일: header.php 프로젝트: mjmaurelien/blog
</head>
<body <?php 
body_class();
?>
>

	<div id="main-wrap">
		<div id="header">
			<div class="container">
				<div id="logo">
				<a href="<?php 
echo esc_url(home_url());
?>
">
				<img src="<?php 
echo esc_url(boldr_get_option('logo'));
?>
" alt="<?php 
bloginfo('name');
?>
">
				</a>
				</div>
			</div>
		</div><!-- End header -->

		<div id="navbar" class="container">
			<div class="menu-container">
			<?php 
wp_nav_menu(array('theme_location' => 'primary', 'items_wrap' => '<ul id="%1$s" class="%2$s sf-menu">%3$s</ul>'));
?>
예제 #2
0
파일: single.php 프로젝트: mjmaurelien/blog
/**
 *
 * BoldR Lite WordPress Theme by Iceable Themes | http://www.iceablethemes.com
 *
 * Copyright 2013 Mathieu Sarrasin - Iceable Media
 *
 * Single Post Template
 *
 */
?>

<?php 
get_header();
if (get_custom_header()->url) {
    if (boldr_get_option('single_header_image') != 'Off') {
        ?>
	<div id="header-image" class="container">
		<img src="<?php 
        header_image();
        ?>
" height="<?php 
        echo get_custom_header()->height;
        ?>
" width="<?php 
        echo get_custom_header()->width;
        ?>
" alt="" />
	</div>
	
<?php 
예제 #3
0
파일: page.php 프로젝트: mjmaurelien/blog
/**
 *
 * BoldR Lite WordPress Theme by Iceable Themes | http://www.iceablethemes.com
 *
 * Copyright 2013 Mathieu Sarrasin - Iceable Media
 *
 * Page Template
 *
 */
?>

<?php 
get_header();
if (get_custom_header()->url) {
    if (is_front_page() && boldr_get_option('home_header_image') != 'Off' || !is_front_page() && boldr_get_option('pages_header_image') != 'Off') {
        ?>
	<div id="header-image" class="container">
		<img src="<?php 
        header_image();
        ?>
" height="<?php 
        echo get_custom_header()->height;
        ?>
" width="<?php 
        echo get_custom_header()->width;
        ?>
" alt="" />
	</div>
	
<?php