=== easy-banners ===
Contributors: bannersky
Donate link: http://www.bannersky.com/
Plugin URI: http://www.bannersky.com/easyBanners.html
Tags: banners, header, right, Ads
Requires at least: 2.8.2
Tested up to: 2.9.2
Stable tag: 1.0
== Description ==
Manage all banners in your site. Tested on wordpress 2.8.2 and 2.8.4 and 2.8.5 and 2.9.2, on bugs found.
== Installation ==
1. Upload `easy-banners.php` and all directory(javascript, php) with files in them to the `/wp-content/plugins/easy-banners` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. You will see the 'Easy Banners' menu in the 'Settings' tab of back-admin of wordpress. You may add/delete/edit banners there. It is easy to use.
4. Call the function of 'wp_easy_banner_display' in your theme. All banners will be displayed.
== Frequently Asked Questions ==
= What are the parameters of the function of 'wp_easy_banner_display' ?=
The function has three parameters: $position = 'RIGHT', $nameOfClass='sideimg', $readMore='read more>>'.
Every parameter has its default value but you can change theme.
The parameter of $position can only be 'RIGHT', 'HEADER', 'LEFT'. 'RIGHT' means display all banners which you placed on the right in the back-admin. So 'LEFT' means display all banners which place on left. And 'HEADER' means display all banners which place on header.
So wp_easy_banner_display('HEADER') display all banners which place on header and wp_easy_banner_display('RIGHT') display all banners which place on right and wp_easy_banner_display('LEFT') display all banners which place on left.
= What's the format of the output? =
The format of output as follows:
<div class="sideimg">
<a href="xxxxxxxx.com" target="_blank"><img src="xxxxxxxxxx"/></a>
<p><a href="xxxxxxxxxxx">read more</a><p>
</div>
The class name "sideimg" can be changed when call the function.
= How to customize the read more tag and the image? =
You can set them on the parameters of the function 'wp_easy_banner_display' like wp_easy_banner_display('HEADER', 'yourClassName', 'your read more') . For these arguments, the function will display all banners which placeon header and output will as follows:
<div class="yourClassName">
<a href="xxxxxxxx.com" target="_blank"><img src="xxxxxxxxxx"/></a>
<p><a href="xxxxxxxxxxx">your read more</a><p>
</div>
== Changelog ==
= 1.0 =
* first version.