Wordpress Plugins – Extensions

Just another WordPress.com weblog

easy-banners 1.2

Author: bannersky
Manage all banners in your site. Tested on WordPress 2.8.2 and 2.8.4 and 2.8.5 and 2.9.2, 3.0 on bugs found
Installation:

Upload easy-banners.php and all directories (javascript, php) with files in them to the /wp-content/plugins/easy-banners directory.
Activate the plugin through the ‘Plugins’ menu in WordPress.
You will see the ‘Easy Banners’ menu in the ‘Settings’ tab of the WordPress dashboard. You may add/delete/edit banners there. It is easy to use.
Call the function ‘wp_easy_banner_display()’ in your theme. All banners will be displayed.

faq:
= What are the parameters of the function ‘wp_easy_banner_display’ ?=
The function has three parameters: $position = ‘RIGHT’, $nameOfClass=’sideimg’, $readMore=’read more>>’.
Every parameter has a default value but you can change them, of course

The parameter $position can only be ‘RIGHT’, ‘HEADER’, ‘LEFT’.
‘RIGHT’ means display all banners which you placed on the right.
‘LEFT’ means display all banners which should be placed on the left.
‘HEADER’ means display all banners for the header.

wp_easy_banner_display(‘HEADER’) will display all “header” banners
wp_easy_banner_display(‘RIGHT’) will display all “right” banners
wp_easy_banner_display(‘LEFT’) will display all “left” banners

What’s the output format?

The output format is 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 calling the function.

How to customize the read more tag and the image?

You can set them using the parameters of the function ‘wp_easy_banner_display’
wp_easy_banner_display(‘HEADER’, ‘yourClassName’, ‘your read more’) .
For this example the function will display all “header” banners 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>

easy-banners 1.2

Advertisements

July 12, 2010 - Posted by | download, extension, extensions, free, get, internet, plugin, plugins, Uncategorized, wordpress

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: