Example #1
0
 private function footer_social_links()
 {
     $this->output('<div class="footer-social">');
     $social_links = donut_generate_social_links();
     $this->output('<ul>');
     foreach ($social_links as $key => $value) {
         $this->output('<li>');
         $this->output(donut_get_social_link($value, true));
         $this->output('</li>');
     }
     $this->output('</ul>');
     $this->output('</div>');
 }
Example #2
0
<?php

$header_left_text = qa_opt('donut_top_bar_left_text');
$header_right_text = qa_opt('donut_top_bar_right_text');
$social_links = donut_generate_social_links();
?>
<header id="top-header">
    <div class="container">
        <div class="row">
            <div class="col-xs-12">
                <div class="left-part pull-left">
                    <?php 
if (!empty($header_left_text)) {
    ?>
                        <?php 
    echo $header_left_text;
    ?>
                    <?php 
}
?>
                </div>
                <div class="right-part pull-right hidden-xs">

                    <?php 
if (!empty($header_right_text)) {
    ?>
                        <?php 
    echo $header_right_text;
    ?>
                    <?php 
}