WordPress.org

Ready to get started?Download WordPress

Forums

WP Bannerize
[resolved] PHP Code Doesn't Work (6 posts)

  1. Chris
    Member
    Posted 2 years ago #

    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/

  2. Chris
    Member
    Posted 2 years ago #

    I fixed this by changing line 217 of wpBannerizeFrontend.php from:

    return $result;

    to:

    echo $result;

  3. gfazioli
    Member
    Plugin Author

    Posted 2 years ago #

    Hi, I fixed all in 3.0.3 available ASAP.

    Thanks for report and support.
    regards

  4. snakesmaster
    Member
    Posted 2 years ago #

    It doesn't work for me either

  5. gfazioli
    Member
    Plugin Author

    Posted 2 years ago #

    @snakesmaster, with a 3.0.3?

  6. ykolabhai
    Member
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic