Click Here Button Disappears on different page on WP site

3 replies
Hi

I posted this on the Design section, but it's probably more relevant to here.

I hope that I explain this properly!

I've got quite a few WP sites promoting various offers, and have a nice big Click Here button that is loaded as an image at the bottom of each post. This works fine on the homepage (I put all my posts on the homepage), but if you click on the post it takes you to that post specifically, and the Click Here button disappears.

So it's there on the post on the homepage, but not on the post itself if you click on it(although there is a clickable hyperlink, just not the actual image). This probably wouldn't be a problem, but sometimes the category page with the post on it is ranking above the homepage.

Any ideas?
#button #click #disappears #page #site
  • Profile picture of the author entrepenerd
    Sounds like a problem with the path to the image for the button. You probably have a relative path to the image that works fine from the home page, but won't work from deeper within the site because they aren't at the same relative level. You'll need to update your image path to start from the root of the site.

    If you gave us a URL, we'd be able to help a lot more.

    Originally Posted by sentient View Post

    Hi

    I posted this on the Design section, but it's probably more relevant to here.

    I hope that I explain this properly!

    I've got quite a few WP sites promoting various offers, and have a nice big Click Here button that is loaded as an image at the bottom of each post. This works fine on the homepage (I put all my posts on the homepage), but if you click on the post it takes you to that post specifically, and the Click Here button disappears.

    So it's there on the post on the homepage, but not on the post itself if you click on it(although there is a clickable hyperlink, just not the actual image). This probably wouldn't be a problem, but sometimes the category page with the post on it is ranking above the homepage.

    Any ideas?
    {{ DiscussionBoard.errors[1897390].message }}
    • Profile picture of the author sentient
      Fantastic, thank you. I know it seems simple, but that just didn't occur to me. The img src="images/xxx.jpg", so I have now changed it to give it the full path.

      Many thanks for that, I appreciate you taking the time to respond.

      Originally Posted by entrepenerd View Post

      Sounds like a problem with the path to the image for the button. You probably have a relative path to the image that works fine from the home page, but won't work from deeper within the site because they aren't at the same relative level. You'll need to update your image path to start from the root of the site.

      If you gave us a URL, we'd be able to help a lot more.
      {{ DiscussionBoard.errors[1897787].message }}

Trending Topics