Ejemplo n.º 1
0
<?php

$location = \Components\Footer\Footer::getLocationInfo();
if (!empty($location)) {
    ?>
<div class="item">
    <i class="top aligned home icon"></i>
    <div class="content">
        <?php 
    echo $location['address'] ? $location['address'] . "<br/>" : "";
    ?>
        <?php 
    echo $location['postal_code'] ? $location['postal_code'] . " " : "";
    ?>
        <?php 
    echo $location['city'] ? $location['city'] . "<br/>" : "";
    ?>
        <?php 
    echo $location['country'] ? $location['country'] . "<br/>" : "";
    ?>
    </div>
</div>
<?php 
}
Ejemplo n.º 2
0
    echo \Components\Footer\Footer::getLogoSize();
    ?>
 image logo" src="<?php 
    echo wp_get_attachment_url($logo);
    ?>
"/>
<?php 
} else {
    ?>
  <div class="content">
    <h1><?php 
    echo bloginfo('name');
    ?>
</h1>
    <?php 
    if (\Components\Footer\Footer::getIfDisplayTagline()) {
        ?>
    <div class="meta">
      <span><?php 
        echo get_bloginfo('description');
        ?>
</span>
    </div>
    <?php 
    }
    ?>
  </div>
<?php 
}
?>
</div>
Ejemplo n.º 3
0
<?php

$schedule = \Components\Footer\Footer::getScheduleInfo();
if ($schedule) {
    ?>
<div class="item">
    <?php 
    echo $schedule;
    ?>
</div>
<?php 
}
Ejemplo n.º 4
0
?>
                </div>
            </div>
            <!-- Location Section -->
            <div class="right floated column">
                <br>
                <div class="ui medium list">
                    <?php 
\Components\Footer\Footer::displayLocationItems();
?>
                </div>
            </div>
            <!-- Schedule Section-->
            <div class="right floated column" id="footer-schedule">
                <br>
                <div class="ui medium list">
                    <?php 
\Components\Footer\Footer::displayScheduleItems();
?>
                </div>
            </div>
        </div>
        <!-- Social Network Section -->
        <div class="ui centered grid">
            <br><br>
            <?php 
\Components\Footer\Footer::displaySocialItems();
?>
        </div>
    </div>
</footer>
Ejemplo n.º 5
0
<?php

\Components\Footer\Footer::displayFooter();
Ejemplo n.º 6
0
        <div class="ui five column grid stackable">
            <!-- Contact Section -->
            <div class="column">
                <br>
                <div class="ui medium list">
                    <?php 
\Components\Footer\Footer::displayContactItems();
?>
                </div>
            </div>
            <!-- Location Section -->
            <div class="right floated column">
                <br>
                <div class="ui medium list">
                    <?php 
\Components\Footer\Footer::displayLocationItems();
?>
                </div>
            </div>
            <!-- Schedule Section-->
            <div class="right floated column" id="footer-schedule">
                <br>
                <div class="ui medium list">
                    <?php 
\Components\Footer\Footer::displayScheduleItems();
?>
                </div>
            </div>
        </div>
    </div>
</footer>
Ejemplo n.º 7
0
<?php

$contact = \Components\Footer\Footer::getContactInfo();
if (!empty($contact)) {
    ?>
  <?php 
    if ($contact['email']) {
        ?>
  <div class="item">
      <i class="mail icon"></i>
      <div class="content">
          <?php 
        echo $contact['email'];
        ?>
      </div>
  </div>
  <?php 
    }
    ?>
  <?php 
    if ($contact['phone']) {
        ?>
  <div class="item">
      <i class="call icon"></i>
      <div class="content">
          <?php 
        echo $contact['phone'];
        ?>
      </div>
  </div>
  <?php 
Ejemplo n.º 8
0
                    <?php 
\Components\Footer\Footer::displayContactItems();
?>
                </div>
            </div>
            <!-- Schedule Section-->
            <div class="column" id="footer-schedule">
                <br>
                <div class="ui medium list">
                    <?php 
\Components\Footer\Footer::displayScheduleItems();
?>
                </div>
            </div>
            <!-- Social Network Section -->
            <div class="column center aligned">
                <br><br>
                <?php 
\Components\Footer\Footer::displaySocialItems();
?>
            </div>

        </div>
        <div class="ui centered grid">
        <!-- Logo Section -->
            <?php 
\Components\Footer\Footer::displayLogoItem();
?>
        </div>
    </div>
</footer>
Ejemplo n.º 9
0
<?php

$social = \Components\Footer\Footer::getSocialNetwork();
if (!empty($social)) {
    ?>
<div class="ui horizontal list">
    <?php 
    if ($social['facebook']) {
        ?>
      <a class="ui circular facebook icon button" href="<?php 
        echo $social['facebook'];
        ?>
" target="_blank">
          <i class="facebook icon"></i>
      </a>
    <?php 
    }
    ?>
    <?php 
    if ($social['gplus']) {
        ?>
      <a class="ui circular google plus icon button" href="<?php 
        echo $social['gplus'];
        ?>
" target="_blank">
          <i class="google plus icon"></i>
      </a>
    <?php 
    }
    ?>
    <?php