WordPress.org

Ready to get started?Download WordPress

Forums

Simple Ads Manager
Last update adds div to all codes, breaks inline text (2 posts)

  1. CMKosman
    Member
    Posted 6 months ago #

    First off, love this plugin. Been using it for years so thanks for creating it.

    The problem I'm getting is that after updating to the newest release, all our inline text ads (code mode) are now being wrapped in a div statement. Within a paragraph this creates a linebreak where before it just looked like a link in text.

    Opened up adclass.php and found this line was added in one of the latest updates. $output = "<div id='c{$rId}_{$ad['id']}_{$ad['pid']}' class='sam-container sam-ad'>{$output}</div>";

    I can remove the div line and everything seems to work however I'm guessing you added it to solve another issue.

    Just wondering if there's a workaround to not add the div statement when the ad is text only and will be placed inline?

    You can see what I mean here.

    Thanks!

    https://wordpress.org/plugins/simple-ads-manager/

  2. minimus
    Member
    Plugin Author

    Posted 6 months ago #

    Added to TODO List...

Reply

You must log in to post.

About this Plugin

About this Topic