Paste Ad codes vs entering tag/publisher ids #84

jtsternberg opened this Issue Dec 3, 2013 · 5 comments


None yet

3 participants


We have a future vip client who may be happy to have this feature implemented.


I'm open to suggestions on what the interface might look like. Considering it's a secondary feature, and might only be supported for some providers, what about having a link or similar that, after clicking, would replace the input fields with the textarea?

The user would then paste their given ad code, hit "Add New Ad Code", and the code would be interpreted into variables.

How do you envision parsing the ad code?


That UI convention sounds fine to me. As far as parsing, might be good to start with some standard stri_replace strings that match conventionally provided ad codes and then a pregmatch after that.


Cool, I'd be happy to look at a PR for this.


Ok, hope to tackle the related project in the next couple weeks, so will submit a PR as soon as I can.

Automattic member

Awesome idea. Happy to jump in if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment