WP-Addpub

0

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 d

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tag
This plugin is outdated and might not be supported anymore.

Description

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)