WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

Guys I know this is the stupid question but need a little help, I need to put ads on my homepage as I have on my post page:

alt text

These are the ads I get on my post page (i.e single.php).

I also want the same thing on my home page over here:

alt text

I tried using a <div> tag like I did on single.php, but it is not working.

share|improve this question
up vote 1 down vote accepted

How do you have your home page set up and what template are you trying to modify? Usually it is index.php or home.php, but it can also be front-page.php or even something completely different from defaults.

See Template Hierarchy in Codex.

share|improve this answer
i have index.php – ntechi Dec 3 '10 at 14:55
+1, use the existing template system to provide a home specific template, see the link in this answer. – t31os Dec 3 '10 at 14:55
i am not getting you, and where is the link? – ntechi Dec 3 '10 at 15:04
please can any one help me out here? – ntechi Dec 4 '10 at 4:34
If you are sure you editing correct template I am out of ideas what else can go wrong. – Rarst Dec 4 '10 at 10:03

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.