= __("How To", 'akptext' ); ?>
= __("Use Shortcodes", 'akptext' ); ?>
= __("Shortcodes can be used in any page or post on your site. By default", 'akptext' ); ?>:
[adkingpro]
= __("is defaulting to the advert type 'Sidebar' and randomly chosing from that. You can define your own advert type and display the adverts attached to that type by", 'akptext' ); ?>:
[adkingpro type='your-advert-type-slug']
= __("Alternatively, you can display a single advert by entering its \"Banner ID\" which can be found in the table under the Adverts section", 'akptext' ); ?>:
[adkingpro banner='{banner_id}']
= __("Have a select few adverts that you'd like to show? No problem, just specify the ids separated by commas", 'akptext' ); ?>:
[adkingpro banner='{banner_id1}, {banner_id2}']
= __("Want to output a few adverts at once? Use the 'render' option in the shortcode", 'akptext' ); ?>:
[adkingpro banner='{banner_id1}, {banner_id2}' render='2']
[adkingpro type='your-advert-type-slug' render='2']
= __("Only have a small space and what a few adverts to display? Turn on the auto rotating slideshow!", 'akptext' ); ?>:
[adkingpro type="your-advert-type-slug" rotate='true']
= __("There are also some settings you can play with to get it just right", 'akptext' ); ?>:
- = __("Effect: \"fade | slideLeft | none\" Default - fade", 'akptext' ); ?>
- = __("Pause Speed: \"Time in ms\" Default - 5000 (5s)", 'akptext' ); ?>
- = __("Change Speed: \"Time in ms\" Default - 600 (0.6s)", 'akptext' ); ?>
= __("Use one or all of these settings", 'akptext' ); ?>:
[adkingpro rotate='true' effect='fade' speed='5000' changespeed='600']
= __("To add this into a template, just use the \"do_shortcode\" function", 'akptext' ); ?>:
<?php
if (function_exists('adkingpro_func'))
echo do_shortcode("[adkingpro type='sidebar']");
?>
= __("FAQ", 'akptext' ); ?>
= __("Q. After activating this plugin, my site has broken! Why?", 'akptext' ); ?>
= __("Nine times out of ten it will be due to your own scripts being added above the standard area where all the plugins are included. ", 'akptext' ); ?>
= __("If you move your javascript files below the function, \"wp_head()\" in the \"header.php\" file of your theme, it should fix your problem.", 'akptext' ); ?>
= __("Q. I want to track clicks on a banner that scrolls to or opens a flyout div on my site. Is it possible?", 'akptext' ); ?>
= __("Yes. Enter a '#' in as the URL for the banner when setting it up. At output, the banner is given a number of classes to allow for styling, one being \"banner{banner_id}\",", 'akptext' ); ?>
= __("where you would replace the \"{banner_id}\" for the number in the required adverts class.", 'akptext' ); ?>
= __("Use this in a jquery click event and prevent the default action of the click to make it do the action you require", 'akptext' ); ?>:
$(".adkingprobanner.banner{banner_id}").click(
function(e) {
e.preventDefault();
// Your action here
});
= __("Q. I'm getting a _gaq or ga is not defined error. Why?", 'akptext' ); ?>
= __("This is most probably due to either you don't have your standard Google Analytics tracking code implemented or the GA code is initialised after WP initialises the AKP scripts.", 'akptext' ); ?>
= __("Bring the tracking code up into the header to allow the code it initialise for the event functions to work on the page.", 'akptext' ); ?>
= __("Found an issue? Post your issue on the", 'akptext' ); ?> = __("support forums", 'akptext' ); ?>. = __("If you would prefer, please email your concern to", 'akptext' ); ?> plugins@kingpro.me