Title: delivering code based on category
Last modified: August 19, 2016

---

# delivering code based on category

 *  Resolved [zbaehr](https://wordpress.org/support/users/zbaehr/)
 * (@zbaehr)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/delivering-code-based-on-category/)
 * I want to have a different ad appear based on what category the post is in. So
   if someone clicks on a golf headline, and they read the story in the golf category,
   then a golf related ad would appear. And likewise for a fishing story, and such.
 * Any suggestions?

The topic ‘delivering code based on category’ is closed to new replies.

## Tags

 * [java-script](https://wordpress.org/support/topic-tag/java-script/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [zbaehr](https://wordpress.org/support/users/zbaehr/)
 * Last activity: [17 years, 11 months ago](https://wordpress.org/support/topic/delivering-code-based-on-category/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
