WordPress.org

Ready to get started?Download WordPress

Forums

Ad King Pro
[resolved] Multiple Ads Not Displaying (2 posts)

  1. devonto
    Member
    Posted 7 months ago #

    Hi,

    When multiple ads are requested to display on my system, only one is shown.

    I have fixed this by altering a section of code in widget.php, line 23:

    Original:
    if ($render !== '' && is_int($render)) $code .= ' render="'.$render.'"';
    Working:
    `if ($render !== '' && is_numeric($render)) $code .= ' render="'.$render.'"';'

    Don't know if this is something others are having issues with, but after each update, I must edit this line... perhaps the change could be added to your code?

    http://wordpress.org/plugins/adkingpro/

  2. Ash Durham
    Member
    Plugin Author

    Posted 6 months ago #

    Hi Devonto,

    My apologies for the major delay in reply. I wasn't notified of your message for some reason.

    And further apologies for the issues you have been getting with this. I must admit, I must have been in another state of mind as I always use is_numeric too... why I changed it is_int that day is beyond me ;)

    Rest assured that will be changed in the next update.

    Cheers for the heads up :)

    Ash

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.