Title: [Plugin: Show Ads Dynamically] first plugin &amp; need help troubleshooting
Last modified: September 1, 2016

---

# [Plugin: Show Ads Dynamically] first plugin & need help troubleshooting

 *  [sdk7327](https://wordpress.org/support/users/sdk7327/)
 * (@sdk7327)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/plugin-show-ads-dynamically-first-plugin-need-help-troubleshooting/)
 * I’m not an exceptional coder, but I wanted to try creating my first plugin for
   my wordpress site iamsarahkohl.com
 * The goal of the plugin would be to take user inputs from the settings page, then
   show them based on the screen width on a wordpress post or widget with the use
   of a shortcode.
 * I read through the documentation and I’ve been able to upload and activate my
   plugin without errors, however when I go to use the shortcode the banners aren’t
   displayed, only the shortcode text.
 * I’m not really sure how to troubleshoot the issue, and despite searching I can’t
   seem to find help so I thought I would make a post. My [plugin file is on pastebin](http://pastebin.com/6U9Mwwz4)
   if anyone has the time to review it for me.

The topic ‘[Plugin: Show Ads Dynamically] first plugin & need help troubleshooting’
is closed to new replies.

## Tags

 * [code review](https://wordpress.org/support/topic-tag/code-review/)
 * [first plugin](https://wordpress.org/support/topic-tag/first-plugin/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)
 * [troubleshoot](https://wordpress.org/support/topic-tag/troubleshoot/)

 * 0 replies
 * 1 participant
 * Last reply from: [sdk7327](https://wordpress.org/support/users/sdk7327/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/plugin-show-ads-dynamically-first-plugin-need-help-troubleshooting/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
