Support » Plugin: WP Bannerize » [Plugin: WP Bannerize] Shortcodes for WP Bannerize

  • Resolved Bryan Hoffman


    First off, great plugin. It’s simple and intuitive.

    Are there any plans on adding shortcode functionality to WP Bannerize? This would be great to be able to add to specific pages and posts.

    ~ Bryan

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author gfazioli


    Hi Bryan,
    great idea. Thanks for the suggestion. I will plan this improvement in next release.




    I was trying to create shortcode by myself, but i’ve got a problem.

    in my theme’s functions.php file i wrote this code

    function banner() {
    	return wp_bannerize('limit=1&before=&after=&container_before=<p style="text-align:center">&container_after=</p>&random=1');
    add_shortcode('banner', 'banner');

    and when i put this shortcode [banner] in my posts, it appears, but above the content.
    And what I need, is to be appeared in exactly that place, where i put this code.
    So can you guys help me with that? : )

    Plugin Author gfazioli


    @landish: Hi, in the next release (2.6.0) I introduced the new shortcode for WP Bannerize:

    [wp-bannerize limit="1" random="1"]

    How you can see, It possible using the same parameters like php function style:

    <?php wp_bannerize("limit=1&random=1) ?>

    Thank you very much for suggested


    Hi, do yo know how to fix the shortcode banner so that it shows exactly where you put the code? Right now it is always showing at the top of the content.

    Many thanks for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WP Bannerize] Shortcodes for WP Bannerize’ is closed to new replies.