Support » Plugin: Simple Ads Manager » Last update adds div to all codes, breaks inline text

  • CMKosman

    (@cmkosman)


    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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Last update adds div to all codes, breaks inline text’ is closed to new replies.