WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i was making a gallery on my clients site using [gallery] sortcode. The gallery appears but when clicked it goes to clients other website which i have no idea why?

here is the link http://www.build12.com/promotions-pictures/pictures/ check the wired link of the pictures.

The wordpress version is 3.1.1. Please let me know what is your advice. Thanks!

share|improve this question
up vote 1 down vote accepted

look at your javascript in the header for the thumb info:

var thumbfile = "http://bricksandwindows.build12.com";

also repeated on line 179 when viewing source

share|improve this answer
Thanks! It might some junk code from earlier developer. I will check and let you know tomorrow. It is late here :) – Sisir May 17 '11 at 21:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.