WordPress.org

Ready to get started?Download WordPress

Forums

Ad Code Manager
[resolved] Adding HTML before and after tag (6 posts)

  1. Glark
    Member
    Posted 1 year ago #

    One other Q while I have your ear. I’m reading the acm_output_html notes on the WP plugin page’s “other notes” and I am wondering if that’s the mechanism to add CSS calls before and after the ad?

    I've widgetized the ad zones so I am looking for a way to inject a div around each zone for presentation purposes.

    This would be a nice thing to have in the GUI eventually.

    Thanks.

    http://wordpress.org/extend/plugins/ad-code-manager/

  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 1 year ago #

    Which provider are you using, and what HTML / CSS do you want to add?

  3. Glark
    Member
    Posted 1 year ago #

    Using DFP (A) and I'm just looking to surround each ad with a DIV for presentational purposes. Of course I can put that DIV in my WordPress templates or I'm adventurous inside DFP (rather not) but I saw some advantages to doing to per Tag ID (if possible).

    It's probably an edge case and very low proirity but just wondering.

  4. Glark
    Member
    Posted 1 year ago #

    Hi again, I just noticed the plugin is adding a DIV with the TAG ID as the DIV ID so that's perfect! Marking as resolved, thanks!

  5. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 1 year ago #

    Cool, that was easy :)

  6. trewknowledge
    Member
    Posted 8 months ago #

    I would personally love if there was a class added as well as the TAG ID.

    In my situation I need to apply a general style for all ads (ex. margin-bottom:10px).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.