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

  1. CMKosman
    Posted 2 years 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.



  2. minimus
    Plugin Author

    Posted 2 years ago #

    Added to TODO List...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Ads Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic