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>'); }
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> </div> <?php } ?> </div> </div> </div> </div> </header>