REFACTOR Disoplay social links through dedicated function
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e1d605153c
commit
b7dc7d485a
|
|
@ -61,28 +61,13 @@
|
|||
</li>
|
||||
<li class="socials">
|
||||
|
||||
<ul class="social-networks-links">
|
||||
<li>
|
||||
<a class="social-link" title="<?php echo __('Facebook', "carhop") ?>" href="<?php echo "https://www.facebook.com/p/Carhop-asbl-100064324346403" ?>" target="_blank">
|
||||
<img class="social-icon" src="<?php echo get_template_directory_uri() . '/resources/img/icons/carhop-social-facebook.svg' ?>" alt="">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="social-link" title="<?php echo __('Youtube', "carhop") ?>" href="<?php echo "https://www.youtube.com/channel/UC-PTbzaC0tlrShZE4l8Z2zA" ?>" target="_blank">
|
||||
<img class="social-icon" src=" <?php echo get_template_directory_uri() . '/resources/img/icons/carhop-social-youtube.svg' ?>" alt="">
|
||||
</a>
|
||||
</li>
|
||||
<!-- <li>
|
||||
<a class="social-link" title="<?php echo __('Instagram', "carhop") ?>" href="<?php "https://www.instagram.com/carhop.asbl/" ?>">
|
||||
<img class="social-icon" src="<?php echo get_template_directory_uri() . '/resources/img/icons/carhop-social-instagram.svg' ?>" alt="">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="social-link" title="<?php echo __('TikTok', "carhop") ?>" href="<?php echo "https://www.tiktok.com/@carhop.asbl" ?>">
|
||||
<img class="social-icon" src=" <?php echo get_template_directory_uri() . '/resources/img/icons/carhop-social-tiktok.svg' ?>" alt="">
|
||||
</a>
|
||||
</li> -->
|
||||
</ul>
|
||||
<?php
|
||||
|
||||
echo carhop_display_social_links();
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user