Esempio n. 1
0
<div class="span8">
  <a class="brand-logo" href="<?php 
echo home_url();
?>
/">
    <h1><?php 
if (function_exists('shoestrap_logo')) {
    shoestrap_logo();
}
?>
</h1>
  </a>
</div>
    function shoestrap_branding()
    {
        ?>
  <?php 
        if (shoestrap_getVariable('header_toggle') == 1) {
            ?>
    <?php 
            if (shoestrap_getVariable('site_style') == 'boxed') {
                ?>
      <div class="container">
    <?php 
            }
            ?>

    <div class="header-wrapper">
      <?php 
            if (shoestrap_getVariable('site_style') == 'wide') {
                ?>
        <div class="container">
      <?php 
            }
            ?>

      <?php 
            if (shoestrap_getVariable('header_branding') == 1) {
                ?>
        <a class="brand-logo" href="<?php 
                echo home_url();
                ?>
/">
          <h1>
            <?php 
                if (function_exists('shoestrap_logo')) {
                    ?>
              <?php 
                    shoestrap_logo();
                    ?>
            <?php 
                }
                ?>
          </h1>
        </a>
      <?php 
            }
            ?>

      <?php 
            if (shoestrap_getVariable('header_branding') == 1) {
                ?>
        <div class="pull-right">
      <?php 
            } else {
                ?>
        <div>
      <?php 
            }
            ?>

      <?php 
            dynamic_sidebar('header-area');
            ?>
    </div>
    </div>

    <?php 
            if (shoestrap_getVariable('site_style') != 'fluid') {
                ?>
      </div>
    <?php 
            }
            ?>

  <?php 
        }
    }