Jump to content

Help with href in logo


Recommended Posts

Hi, Im trying to link my facebook page to an icon. But I am unable to as the href url just adds itself to the back of the URL of my current page. The code is below. Am I doing something wrong? New to html, thanks!<?php if(!is_home()): ?>
<footer>
<div class="footer">
<div class="container">
<ul class="footer_socials_wrapper">
<li><a href="www.facebook.com/page/thebanditshop" target="_blank" class="social_media"><i class="fa fa-facebook"></i></a></li>
<li><a href="www.facebook.com/page/thebanditshop" target="_blank" class="social_media"><i class="fa fa-pinterest"></i></a></li>
<li><a href="www.facebook.com/page/thebanditshop" target="_blank" class="social_media"><i class="fa fa-twitter"></i></a></li>
<li><a href="www.facebook.com/page/thebanditshop" target="_blank" class="social_media"><i class="fa fa-instagram"></i></a></li>
<li><a href="www.facebook.com/page/thebanditshop" target="_blank" class="social_media"><i class="fa fa-youtube"></i></a></li>
</ul>
<nav class="footer-navigation-wrapper">
<?php
wp_nav_menu( array(
'menu' => 'footer',
'container' => false,
'menu_class' => 'menu-footer-menu'
)
);
?>
</nav>
<div class="copyright_text">
© <a href="<?php echo get_site_url(); ?>"><?php bloginfo("title") ?></a>
</div>
</div>
</div>
</footer>
<?php endif; ?>
<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri(); ?>/js/jquery.js"></script>
<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri(); ?>/js/bootstrap.js"></script>
<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri(); ?>/js/bootstrap-hover-dropdown.js"></script>
<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri(); ?>/js/owl.carousel.js"></script>
<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri(); ?>/js/jquery.equalheights.js"></script>
<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri(); ?>/js/easyzoom.js"></script>
<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri(); ?>/js/swiper.js"></script>
<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri(); ?>/js/main.js"></script>
<?php wp_footer(); ?>
</body>
</html>
Link to post
Share on other sites

You need to start your URLs with either http, https or //

 

Such as

<a href="http://www.facebook.com/page/thebanditshop" target="_blank" class="social_media">or<a href="https://www.facebook.com/page/thebanditshop" target="_blank" class="social_media">or<a href="//www.facebook.com/page/thebanditshop" target="_blank" class="social_media">
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...