WordPress.org

Support

Support » Plugins and Hacks » WooCommerce » [Resolved] Mystile gives error

[Resolved] Mystile gives error

  • The free theme for this plugin gives an error in in my footer out of the box.
    “/public_html/wp-content/themes/mystile/functions/admin-functions.php on line 3193”. It had something to do with google fonts. I haven’t made any font changes as yet. Turning the option for typography on and off has shown no difference. The other themes do not have this part coded exactly the same but editing it based on those has not worked.

    } // End wooframework_display_theme_version_data()
    }

    if ( ! function_exists( ‘wooframework_load_google_fonts’ ) ) {
    function wooframework_load_google_fonts() {
    global $woo_used_google_fonts;

    $c = 0;
    $fonts = ”;
    foreach( $woo_used_google_fonts as $font ) {
    if( $c > 0 ) {
    $fonts .= ‘|’;
    } else {
    ++$c;
    }
    $fonts .= $font;
    }

    woo_shortcode_typography_loadgooglefonts( $fonts , ‘woo-used-google-fonts’ );
    } // End wooframework_load_google_fonts()
    }
    add_action( ‘wp_footer’ , ‘wooframework_load_google_fonts’ );
    ?>

    http://wordpress.org/extend/plugins/woocommerce/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Mystile gives error’ is closed to new replies.
Skip to toolbar