Image for footer not showing but hyperlink works.
-
Ok so my experience in WordPress is limited but I am learning. I took over a website for a job and therefore most of this website I have not done so I don’t know how everything has been done. Although I think I have figured most of it out for now.
That being said my question is that I am hard coding a picture to be linked in a footer of the pages that acts as a hyperlink to another website. (Like those little ads at the bottom.) For businesses that we associate with and everything. While I have gotten the picture link to do exactly what I want, and it is placed where I want, the actual picture itself does not display. It looks like a broken link for the picture.
Now I have uploaded the picture that I am using on the media library, and tried to use it that way. I did not upload it via FTP like is mentioned numerous times but I figured since I uploaded it directly that it should be fine. I might be wrong but this is why I am asking the question here.
Here is the little snippet of code from the footer.php file:
<a href = "https://www.virginiapeninsulachamber.com/" target="_blank"> <img src="<?php bloginfo('template_url'); ?>/images/Peninsula_Chamber_of_Commerce.png" alt="Virginia Peninsula Chamber of Commerce" />
Now there are multiple images like this and I was just adding another one on to it. I mostly just copied the previous pictures code, and this led me to believe that I have not fully uploaded it to the server for WordPress to use.
The full site is here for you to look at https://www.macpaint.net
Thanks!
- The topic ‘Image for footer not showing but hyperlink works.’ is closed to new replies.