WordPress.org

Forums

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

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Ad King Pro
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.