I’m having problems with WooCommerce and/or WPML when the theme is active

If you’re seeing this issue, then there’s likely a conflict with our installer script and WooCommerce/WPML. Here’s how to safely remove the necessary scripts, leaving just the CSS required to achieve the look of your theme.

1. Login to FTP and access your child theme folder in the directory.

2. Everything you see inside your functions.php can be safely removed, with the exception of the following lines. Don’t worry, it looks more ominous than it really is! Basically, you just need to keep these 3 parts: API Licensing, Enqueue Stylesheet & Enqueue Custom Fonts. Our code is always commented so you know when one section begins and ends. Obviously, based on the theme you purchased, your functions.php may look slightly different, but these sections are all you need!


// Load the API Key library if it is not already loaded. Must be placed in the root plugin file.
if ( ! class_exists( 'superfly_license' ) ) {
	// Uncomment next line if this is a plugin
	// require_once( plugin_dir_path( __FILE__ ) . ‘superfly-license-menu.php' );

	// Uncomment next line if this is a theme
	require_once( get_stylesheet_directory() . ‘/superfly-license-menu.php' );

	 * @param string $file             Must be __FILE__ from the root plugin file, or theme functions file.
	 * @param string $software_title   Must be exactly the same as the Software Title in the product.
	 * @param string $software_version This product's current software version.
	 * @param string $plugin_or_theme  'plugin' or 'theme'
	 * @param string $api_url          The URL to the site that is running the API Manager. Example: https://www.toddlahman.com/
	 * @return \AM_License_Submenu|null
	superfly_license::instance( __FILE__, ‘Anthem Theme’, ‘3.0’, 'theme', 'https://besuperfly.com/' );


add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );}

function enqueue_our_required_stylesheets(){
	wp_enqueue_style('font-awesome', get_stylesheet_directory_uri() . '/fonts/font-awesome-4.4.0/css/font-awesome.css');  
	wp_enqueue_style('custom-fonts', get_stylesheet_directory_uri() . '/fonts/stylesheet.css'); 

3. Once you’ve made the changes to functions.php, go back to your child theme folder and delete the “on-click-installer” and “js” folders. They are no longer needed after install.

4. Clear your site & browser cache & cookies and test your theme now. 

If you’re still having issues, then it’s not an issue with the child theme since we’ve removed all custom script and functionality, leaving just CSS.