• Resolved khw1204

    (@khw1204)


    Having an issue with adding a social media Instagram link to the footer php.

    Here is the code:

    <a href="https://instagram.com/mrbuildsolar"></a><a href="#"><img src="<?php echo get_template_directory_uri(); ?>/images/instagram.png"/>

    What am I missing. This code appears to be exactly the same as the working links for Facebook and Twitter. When I update, the link simply takes me back to the top of my client’s webpage, not to the Instagram account.

    Newbie to WordPress, so your help is greatly appreciated.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter khw1204

    (@khw1204)

    CORRECTION: I am trying to paste the code for the link to Instagram as an example, but only the image code is showing in this forum.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You have to actually use the CODE tags (see the quicktoolbar above the post entry field? Use ‘code’ please)

    <a href="https://instagram.com/mrbuildsolar"></a><a href="#">

    That’s the problem. The SECOND A href.

    Thread Starter khw1204

    (@khw1204)

    Thank you for your response. I figured it out. I appreciate you help. Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Soc Media Link in footer’ is closed to new replies.