Quantcast
Channel: WordPress.org Forums » [WooCommerce] Support
Viewing all articles
Browse latest Browse all 102102

Stacy on "[Plugin: WooCommerce - excelling eCommerce] Mystile gives error"

$
0
0

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 all articles
Browse latest Browse all 102102

Trending Articles