예제 #1
0
                    <div class="logo-header <?php 
if (!get_option('unspoken_logo_top') && !get_option('unspoken_logo_text')) {
    echo 'offset';
}
?>
">
                        <a href="<?php 
bloginfo('url');
?>
">
                        <?php 
if (get_option('unspoken_logo_text')) {
    echo get_option('unspoken_logo_text');
} elseif (get_option('unspoken_logo_top')) {
    if (function_exists('unspoken_get_logo')) {
        echo unspoken_get_logo(get_option('unspoken_logo_top'));
    }
} else {
    ?>
                                <?php 
    if (get_option('unspoken_skin') && get_option('unspoken_skin') != 'default') {
        echo '<span style="background: url(' . get_bloginfo('template_url') . '/skins/unspoken-' . get_option('unspoken_skin') . '/images/logo-header.png) 0 0 no-repeat;"></span>';
    } else {
        echo '<span style="background: url(' . get_bloginfo('template_url') . '/images/logo-header.png) 0 0 no-repeat;"></span>';
    }
    ?>
                            <?php 
}
?>
                        </a>
                    </div>
예제 #2
0
            <?php 
wp_nav_menu(array('menu' => __('Navigation footer', 'unspoken'), 'theme_location' => __('Navigation footer', 'unspoken'), 'depth' => 1, 'container' => 'div', 'container_class' => 'menu-footer clear'));
?>

                <div class="footer-leftpart">
                    <a class="logo-footer" href="<?php 
bloginfo('url');
?>
">
                        <?php 
if (get_option('unspoken_logo_text')) {
    echo get_option('unspoken_logo_text');
} elseif (get_option('unspoken_logo_bottom')) {
    if (function_exists('unspoken_get_logo')) {
        echo unspoken_get_logo(get_option('unspoken_logo_bottom'));
    }
} else {
    ?>
                            <?php 
    if (get_option('unspoken_skin') && get_option('unspoken_skin') != 'default') {
        echo '<span style="background: url(' . get_bloginfo('template_url') . '/skins/unspoken-' . get_option('unspoken_skin') . '/images/logo-footer.png) 0 0 no-repeat;"></span>';
    } else {
        echo '<span style="background: url(' . get_bloginfo('template_url') . '/images/logo-footer.png) 0 0 no-repeat;"></span>';
    }
    ?>
                        <?php 
}
?>
                    </a>
                </div>