Home Plugins wp addpub
WP-Addpub logo

WP-Addpub

by cyberscorp on WordPress.org

Banners Management (images, flash and html code) - can be used to customize banners by language or by category using zone and filter fields

(0)
Add a banner

Add a banner

WP-addpub is a very simple plugin that let’s you upload your banners or your html and javascript code to your blog. Can be used, also, for any kind of script (google adsense, paypal donate, youtube video…)

The advantages of this plugin:

  • Enabling and disabling the banner
  • Display banners in different areas.
  • Ability to display a banner depending on any special field (category, tag, etc).
  • Ability to display a banner depending on the language using the field filter.
  • Ability to add/edit a script banner.
  • Ability to display a random banner.
  • Display banner in content of pages or posts using shortcode.

A brief Markdown Example

How-to use:

Add the following line in your theme:

The parameter of the function is a string that contains variables:

  • bannerID : Id of the banner
  • zone: a text field that can be used to identify an area of your page (eg sidebar, footer)
  • filter: a text field that can be used as a criterion for display (ie value: French, English or Category1, Category2)
  • random : display a random banner (random=true)

or

Add a shortcode into content of pages or posts : [wp-addpub]

Add attributes to the shortcode to get the banner :
* bannerID : Id of the banner. bannerID attribute goes alone. the others could be mixed together.
* zone: a text field that can be used to identify an area of your page (eg sidebar, footer)
* filter: a text field that can be used as a criterion for display (ie value: French, English or Category1, Category2)
* random : display a random banner (random=true)

Active installations30+
Weekly downloads
11+10.00%
Version1.2.8
Last updated1/21/2014
WordPress version2.3
Tested up to3.7.41
Tags
adsbannerflashhtmlmanage