WordPress.org

Ready to get started?Download WordPress

Forums

WP Bannerize
WP Bannerize deactivates on mobile view (2 posts)

  1. kwoodall
    Member
    Posted 1 year ago #

    Odd problem here... WP Bannerize, when I browse to my site that uses it via my Android phone, actually is turned off! I'd accidentally coded a section to not test for it being present before calling the function in PHP, and the page crashed reporting it could not find the function.

    http://amazingstoriesmag.com

    Kermit Woodall

    http://wordpress.org/extend/plugins/wp-bannerize/

  2. Rafael Tovar
    Member
    Posted 1 year ago #

    me too. In default browser of Android 4.2.2.

    A temporal fix is add a change in the line 64 of wp-bannerize/Classes/wpBannerizeWidget.php

    function widget( $args, $instance ) {
        global $wpBannerizeFrontend;
        $new_args = array_merge( $args, $instance );
        if (isset($wpBannerizeFrontend)) // add this line
            echo $wpBannerizeFrontend->bannerize( $new_args );
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.