WP Banners: Post/Page Embedding

You have the ability to embed banner ads directly into the content of any of your WordPress posts/pages with the WordPress banners plugin. In the administration panel, these code strings are displayed next to each record of the ads, sizes and zones. You can simply copy and paste them as needed.

v2.3.8 (or earlier)

Please note that these embedding codes will still work with newer versions of the WordPress banner rotator plugin but they are deprecated and will be removed from the package in the near future.

Embed Single Ad

{wpbr_ad_7}
This will display a single banner ad by ID value. Change the value “7” in the string above to the ID of the banner ad you wish to display.

Embed a Size

{wpbr_size_4}
This will rotate the banner ads associated with a specific size by ID value. Therefore, a random banner ad from the specified size will be displayed. Change the value “4” in the string above to the appropriate ID of the size from which you would like to have an ad displayed.

Embed a Zone

{wpbr_zone_2}
Embedding a similar string as above will randomly display a banner ad associated with the specific zone. Change the value “2” in the string above with the ID of the specific zone from which you would like to have an ad displayed.

v2.4.9 (or later)

Please note that these embedding codes will NOT work in versions earlier than v2.4.9 of the WordPress banners plugin. Only use these WordPress shortcodes if you are running v2.4.9 (or newer) of the package.

Embed an Ad

[wpbrad id=X]
Display a single banner ad inside a WordPress post/page. Replace “X” in the code above with the ID value of the specific banner ad you wish to show.

Embed a Zone

[wpbrzone id=X]
Rotate the banner ads of a specific zone inside any WordPress post/page. Replace “X” in the code above with the ID value of the specific zone of which you would like to rotate banner ads.

Embed a Size

[wpbrsize id=X]
Rotate the banner ads of a specific size (by width and height) inside any WordPress post/page. Replace “X” with the ID value of the size of which you would like to rotate banner ads.

Embed a Size & Zone

[wpbrsizezone size_id=X zone_id=Y]
Rotate banner ads belonging to both a specific size and a specific zone inside any WordPress post/page. Replace “X” in the code above with the ID value of the size and “Y” in the code above with the ID value of the zone of which you would like to rotate banner ads.

Beautiful Newsletter Templates

Professional newsletter templates that are fully responsive for desktop, tablet, and mobile. They are 100% cross-client compatible.

See Them

Pin It on Pinterest