= __("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']");
?>
= __("Install PDF Themes", 'akptext' ); ?>
= __("Download themes from the", 'akptext' ); ?> King Pro Plugins = __("page", 'akptext' ); ?>. = __("Locate the themes folder in the adkingpro plugin folder, generally located", 'akptext' ); ?>:
/wp-content/plugins/adkingpro/themes/
= __("Unzip the downloaded zip file and upload the entire folder into the themes folder mentioned above.", 'akptext' ); ?>
= __("Once uploaded, return to this page and your theme will be present in the PDF Theme dropdown to the left. Choose the theme and save the options. Next time you generate a report, the theme you have chosen will be used.", 'akptext' ); ?>
= __("The ability to upload the zip file straight from here will be added soon", 'akptext' ); ?>
= __("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 get an error saying the PDF can't be saved due to write permissions on the server. What do I do?", 'akptext' ); ?>
= __("The plugin needs your permission to save the PDFs you generate to the output folder in the plugins folder. To do this, you are required to", 'akptext' ); ?>
= __("update the outputs permissions to be writable. Please see", 'akptext' ); ?> = __("the wordpress help page", 'akptext' ); ?> = __("to carry this out.", 'akptext' ); ?>
= __("Q. I'm using the Google Analyics intergration and 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 that code is in the footer. ", '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