Title: Adding Advertising Code AFTER Dynamic Sidebar Content
Last modified: August 19, 2016

---

# Adding Advertising Code AFTER Dynamic Sidebar Content

 *  [transmutation](https://wordpress.org/support/users/transmutation/)
 * (@transmutation)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/adding-advertising-code-after-dynamic-sidebar-content/)
 * I know I am making this more difficult than it is, but here goes.
 * I have some javascript advert code I want to add at the end of the dynamic sidebar
   content.
 * You’ll see the sidebar at [http://www.q-literature.com](http://www.q-literature.com)
   and right after the categories widget I would like to add this advertising code.
 * Any thoughts?
 * Aaron

Viewing 1 replies (of 1 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/adding-advertising-code-after-dynamic-sidebar-content/#post-823317)
 * Edit your sidebar.php file and add whatever code you want AFTER the closing “
   endif” of the dynamic sidebar.

Viewing 1 replies (of 1 total)

The topic ‘Adding Advertising Code AFTER Dynamic Sidebar Content’ is closed to new
replies.

## Tags

 * [dynamic sidebar](https://wordpress.org/support/topic-tag/dynamic-sidebar/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [moshu](https://wordpress.org/support/users/moshu/)
 * Last activity: [17 years, 10 months ago](https://wordpress.org/support/topic/adding-advertising-code-after-dynamic-sidebar-content/#post-823317)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
