Exemple #1
0
 private function footer_social_links()
 {
     $this->output('<div class="footer-social">');
     $social_links = donut_opt('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>');
 }
Exemple #2
0
}
?>
                </div>
                <div class="right-part pull-right hidden-xs">

                    <?php 
if (!empty($header_right_text)) {
    ?>
                        <?php 
    echo $header_right_text;
    ?>
                    <?php 
}
?>
                    <?php 
if (donut_opt('top_bar_add_social_links')) {
    ?>
                        <div class="top-html-block">
                            <div class="social-links">
                                <?php 
    foreach ($social_links as $key => $value) {
        ?>
                                    <?php 
        if (!empty($value)) {
            echo donut_get_social_link($value, true);
        }
        ?>
                                <?php 
    }
    ?>
                            </div>
Exemple #3
0
<link href='http://fonts.googleapis.com/css?family=Varela+Round' rel='stylesheet' type='text/css'/>
<div id="site-header" class="site-header text-center">
    <div class="site-header-cover">
        <div class="site-header-fade"></div>
        <div class="site-header-entry">
            <?php 
if (donut_opt('allow_user_to_close_home_page_banner')) {
    ?>
                <div class="hide-btn-wrap">
                    <button title="Hide this banner" id="hide-site-header" type="button" class="close" data-dismiss="site-header-entry" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
            <?php 
}
?>
            
            <h1 class="top-heading">Donut Discussion Forum</h1>

            <div class="container visible-md visible-lg">
                <div class="col-md-4 jumbo-box">
                    <div class="wrap">
                        <div class="icon-wrap">
                            <span class="fa fa-search-plus  large-icon"></span>
                        </div>
                        <div class="hint">
                            Search answers for all your queries
                        </div>
                    </div>
                </div>
                <div class="col-md-4 jumbo-box">