Title: [Plugin: WP Bannerize] PHP Code Doesn&#039;t Work
Last modified: August 20, 2016

---

# [Plugin: WP Bannerize] PHP Code Doesn't Work

 *  Resolved [Chris Runnells](https://wordpress.org/support/users/crunnells/)
 * (@crunnells)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-bannerize-php-code-doesnt-work/)
 * I’m using version 3.0.2 of the plugin.
 * I disabled and re-enabled the plugin, and it still doesn’t work.
 * I’m using the following code:
 *     ```
       if(function_exists( 'wp_bannerize' )){
       			wp_bannerize( 'group=leaderboard&container_before=&container_after=&before=&after=&random=1&limit=1' );
       }
       ```
   
 * I don’t get any error, or any output either. I tried adding the code to wp-bannerize_functions.
   php, line 20, to `$wp_bannerize_frontend->bannerize( $args );` but that doesn’t
   do anything either.
 * [http://wordpress.org/extend/plugins/wp-bannerize/](http://wordpress.org/extend/plugins/wp-bannerize/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [Chris Runnells](https://wordpress.org/support/users/crunnells/)
 * (@crunnells)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-bannerize-php-code-doesnt-work/#post-2343435)
 * I fixed this by changing line 217 of wpBannerizeFrontend.php from:
 * `return $result;`
 * to:
 * `echo $result;`
 *  Plugin Author [gfazioli](https://wordpress.org/support/users/gfazioli/)
 * (@gfazioli)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-bannerize-php-code-doesnt-work/#post-2343452)
 * Hi, I fixed all in 3.0.3 available ASAP.
 * Thanks for report and support.
    regards
 *  [snakesmaster](https://wordpress.org/support/users/snakesmaster/)
 * (@snakesmaster)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-bannerize-php-code-doesnt-work/#post-2343457)
 * It doesn’t work for me either
 *  Plugin Author [gfazioli](https://wordpress.org/support/users/gfazioli/)
 * (@gfazioli)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-bannerize-php-code-doesnt-work/#post-2343458)
 * [@snakesmaster](https://wordpress.org/support/users/snakesmaster/), with a 3.0.3?
 *  [ykolabhai](https://wordpress.org/support/users/ykolabhai/)
 * (@ykolabhai)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-bannerize-php-code-doesnt-work/#post-2343639)
 * HI with 3.0.3 and using the Calotropis theme.
 * The layout don’t shows incorrect I have to images one for version 2.7.6 and one
   for version 3.0.3 will email images to Giovambattista
 * thks in advance
    Regards Yusuf

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: WP Bannerize] PHP Code Doesn't Work’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-bannerize_a29ebf.svg)
 * [WP Bannerize](https://wordpress.org/plugins/wp-bannerize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-bannerize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-bannerize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-bannerize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-bannerize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-bannerize/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [ykolabhai](https://wordpress.org/support/users/ykolabhai/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-bannerize-php-code-doesnt-work/#post-2343639)
 * Status: resolved