Ad King Pro
[resolved] Banner Rotation (8 posts)

  1. BuildHouston
    Posted 3 years ago #

    Hi I like the plug in (just installed for test run) but the banners do not seem to auto rotate. They remain stagnant until a page click is made. Is there a way to make them auto rotate at specified intervals (i.e. every 3 or 5 seconds)?


  2. Ash Durham
    Plugin Author

    Posted 3 years ago #

    Hi BuildHouston,

    This is a feature that has been requested a couple of times already, and I do understand why.

    The way you described it working currently is its intended function and use as it gives a true reading of impressions. With that said however, given a rotating banner would infact be useful in some cases, I will endeavour to add this feature to a future release.

    Thank you for your suggesting and keep an eye out for upcoming updates!

  3. Iamhere
    Posted 3 years ago #

    Yes - also keen for banner rotation whilst on page!

    Should be "fairly easy" to implement with some jquery - how about this: http://jquery.malsup.com/cycle/

  4. Ash Durham
    Plugin Author

    Posted 3 years ago #

    This will be one of the new features in the next update.

    Iamhere, thats quite a nifty script. I didn't consider giving the option for different transitions but its not such a silly idea. I'm not sold on how that one in particular works (ie using the image tag) since AdKingPro can use a variety of resources so ideally I will need to use one that does the same thing using a container (li, div, etc).

    Leave it with me, it shall be implemented soon.

  5. Ash Durham
    Plugin Author

    Posted 3 years ago #

    Hi guys,

    Just letting you know, version 1.8 has this feature!


  6. Iamhere
    Posted 3 years ago #

    Hi Ash

    Thanks for the update - I installed 1.8 but can't see any banner rotation?
    I was hoping for banner rotation automatically whilst in page - fade out - fade in type of thing - is that what you've added - if so, then it's not working (at least not in my install!)

    It would be good to add a setting in settings page for rotation timing ?
    BTW - CPC display is fixed now and the links to reports.

    One additiona suggestion is to reduce banner image size in admin ;

    tbody#the-list td.advert_image img
    	max-width:150px !important;


  7. Iamhere
    Posted 3 years ago #

    Ahh ok - I just noticed I need to add the rotate code into the do_shortcode function (in my footer)

    <?php echo do_shortcode(' [adkingpro type="footer-box-1" rotate="true" ]'); ?>

    However, this is not working. Also tried with

    <?php echo do_shortcode(' [adkingpro type="footer-box-1" rotate="'.true.'" ]'); ?>

    Can you confirm it works on your end, using the do shortcode method?

  8. Ash Durham
    Plugin Author

    Posted 3 years ago #

    Hey Iamhere,

    Yep, good pick up. The fix for this will be in the next update. For the mean time, just specify the amount you want to output by using the render attribute:

    <?= do_shortcode('[adkingpro type="footer-box-1" rotate="true" render="6"]'); ?>

    You can specify more than whats in that advert type if that changes alot. The render value just changes the "showposts" value in the query search.

    Regarding settings and what not, have a read of the "Using Shortcodes" section in the settings page for Ad King Pro, or take a look at "Other Notes" here on the plugin page. You have a few options there to manage the rotator.

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


No tags yet.