Support » Everything else WordPress » Link not showing up and problems with layout

  • Resolved FabMon

    (@fabmon)


    Hello there

    I´ve integrated wordpress blog into my existing website but i have a problem with the <img in a href links not showing up as you can see from the screenshot:

    http://tinypic.com/view.php?pic=16bwxw7&s=8

    I don´t understand why this happens since the images are inside a folder called images in the directory of my website.
    To explain things better i have index.php calling the header with get_header function while the header.php calls my site_logo where it calls the images through a href=”link.html”><img src=”images/something.png”

    Am i missing something?

    Another question is that i´m not centering the blog posts content properly. Why does the blog post not show up right below the header?

Viewing 4 replies - 1 through 4 (of 4 total)
  • You have to use the full path to the img. To do so, you have to use something linke this:

    <img src="<?php bloginfo('template_directory'); ?>/images/something.png">

    Thanks. I already found out that i had to use the full path to the images instead of using the path to the folder containing the images.

    Hey FabMon be sure to mark your topic “resolved’….this helps others who try to help out in the forum…..thanks!

    Didn´t know about that option…gotcha now, thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Link not showing up and problems with layout’ is closed to new replies.