Пример #1
0
function minimum_minimal_add_styles()
{
    if (!function_exists('get_richicon_font')) {
        $richicon_font = array('base' => get_template_directory_uri() . "/font/richicons", 'version' => '53407999');
    } else {
        $richicon_font = get_richicon_font();
    }
    ?>
<style type="text/css">
@font-face {
  font-family: 'richicons';
  src: url('<?php 
    echo $richicon_font['base'] . ".eot?" . $richicon_font['version'];
    ?>
');
  src: url('<?php 
    echo $richicon_font['base'] . ".eot?" . $richicon_font['version'] . "#iefix";
    ?>
') format('embedded-opentype'),
    url('<?php 
    echo $richicon_font['base'] . ".woff?" . $richicon_font['version'];
    ?>
') format('woff'),
    url('<?php 
    echo $richicon_font['base'] . ".ttf?" . $richicon_font['version'];
    ?>
') format('truetype'),
    url('<?php 
    echo $richicon_font['base'] . ".svg?" . $richicon_font['version'] . "#richicons";
    ?>
') format('svg');
    font-weight: normal;
    font-style: normal;
  }
a, a:hover, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, h1.entry-title a:hover, .meta-nav a, .meta-nav a:hover, #respond .required, .widget-area a:hover, .footer-widget-area a:hover, #colophon a:hover, .nav-previous a span, .nav-next a span, .postformatlabel a span, .paginate a:hover, .paginate a:active, .paginate .current, #cancel-comment-reply-link{color:<?php 
    echo minimumminimaloptions('color1');
    ?>
;}  a.afflinkbutton, a:hover.styledbutton, a:hover.more-link, input[type="submit"]:hover#submit, input[type="submit"]:hover, .nav-below a:hover, .nav-previous a:hover, .nav-next a:hover{background:<?php 
    echo minimumminimaloptions('color1');
    ?>
;}  a:hover {color:<?php 
    echo minimumminimaloptions('color2');
    ?>
;} a.styledbutton, a.more-link, input[type="submit"]#submit, input[type="submit"], a:hover.afflinkbutton, .nav-below a, .nav-previous a, .nav-next a {background:<?php 
    echo minimumminimaloptions('color2');
    ?>
;} .archiveheader{border: 5px solid <?php 
    echo minimumminimaloptions('color1');
    ?>
;}</style>
<?php 
}
Пример #2
0
?>
">
				<?php 
if (!empty($logo)) {
    ?>
				<a href="<?php 
    echo home_url('/');
    ?>
" title="<?php 
    echo esc_attr(get_bloginfo('name', 'display'));
    ?>
 - <?php 
    bloginfo('description');
    ?>
"><img src="<?php 
    echo esc_url(minimumminimaloptions('logo'));
    ?>
" alt="<?php 
    echo esc_attr(get_bloginfo('name', 'display'));
    ?>
 - <?php 
    bloginfo('description');
    ?>
"/></a>
				<?php 
} else {
    ?>
 
				<a href="<?php 
    echo home_url('/');
    ?>
Пример #3
0
<div id="footer">
	<div id="colophon"  class="container_16 containermargin">
		<div id="footer-info" class="grid_16">
			<div id="copyright"><?php 
echo stripslashes(minimumminimaloptions('copyright'));
?>
</div>
			<?php 
if (has_nav_menu('menufooter')) {
    wp_nav_menu(array('menu_id' => 'menufooter', 'container_class' => 'menu footernav', 'theme_location' => 'menufooter'));
}
?>
	<div style="clear:both;"></div>	
	<?php 
get_sidebar('footer');
?>
	</div>		
	</div><!-- #colophon -->
	<div style="clear:both;"></div>
	</div><!-- #footer -->
	<?php 
wp_footer();
?>
</body>
</html>