Support » Plugin: Ad King Pro » Multiple Ads Not Displaying

  • Resolved devonto

    (@devonto)


    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/

Viewing 1 replies (of 1 total)
  • Plugin Author Ash Durham

    (@ashdurham)

    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

Viewing 1 replies (of 1 total)
  • The topic ‘Multiple Ads Not Displaying’ is closed to new replies.