Title: Adding ads to every post
Last modified: August 19, 2016

---

# Adding ads to every post

 *  [getagrip](https://wordpress.org/support/users/getagrip/)
 * (@getagrip)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/adding-ads-to-every-post/)
 * Suppose I want a banner add to appear at the top of every blog post I make – 
   is there a way to do that without adding the banner code on EVERY single post
   I make? Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/adding-ads-to-every-post/#post-804174)
 * yes, edit your theme files, find the loop, add the code.
 *  Thread Starter [getagrip](https://wordpress.org/support/users/getagrip/)
 * (@getagrip)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/adding-ads-to-every-post/#post-804175)
 * Thanks…but is there a specific place I would add the code – such as after a certain
   tag? My guess from what you said is that I would need to go into the theme editor
   and then add the code, but I’m not sure which specific part of themse to add 
   the code.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/adding-ads-to-every-post/#post-804177)
 * 1. dont edit your theme files in the theme editor. Its a bad practice to get 
   into. you should be making backups before you edit these files anyway, and that
   assumes your downloading the files. You can download the files, save them, then
   edit, and then you have backups. newly edited copies can then be uploaded to 
   your site.
 * 2. if you want ads to appear at the top of every post, then you need to add the
   code to the top of the loop.
 * the loop: [http://codex.wordpress.org/The_Loop](http://codex.wordpress.org/The_Loop)
 * every single theme file has at least one variation of the loop.
 * I cant tell you exactly where to add the code since I dont know exactly what 
   your loop like.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Adding ads to every post’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [whooami](https://wordpress.org/support/users/whooami/)
 * Last activity: [17 years, 11 months ago](https://wordpress.org/support/topic/adding-ads-to-every-post/#post-804177)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
