We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey Bass,
I'm getting the following error: Notice: Undefined variable: woocommercetwitterbootstrap in /Applications/MAMP/htdocs [...] on line 300
Notice: Undefined variable: woocommercetwitterbootstrap in /Applications/MAMP/htdocs [...] on line 300
Here's the exact code I've placed in my functions file:
if( !function_exists( 'wts' ) ): function wts() { wp_deregister_style ( 'woocommerce-twitterbootstrap'); wp_dequeue_style( 'woocommerce-twitterbootstrap'); wp_register_style ( 'woocommerce-twitterbootstrap', get_template_directory_uri() . '/woocommerce/wts/css/woocommerce-twitterboostrap.css', 'woocommerce' ); wp_enqueue_style( 'woocommerce-twitterbootstrap'); } endif; add_action( 'wp_enqueue_scripts', 'wts', 200 ); remove_action('admin_menu',array($woocommercetwitterbootstrap,'add_menu')); add_action('admin_menu','woocommerce_twitterbootstrap_add_menu'); /** * add a menu */ function woocommerce_twitterbootstrap_add_menu() { global $woocommercetwitterbootstrap; add_theme_page('WooCommerce Twitter Bootstrap Settings', 'WooCommerce Bootstrap', 'manage_options', 'woocommerce-twitterbootstrap', array($woocommercetwitterbootstrap, 'plugin_settings_page')); } // END public function add_menu() remove_action('admin_menu', array($woocommercetwitterbootstrap,'add_menu'));
And I copied all files from master.zip to the wts folder inside my themes woocommerce folder.
Any ideas?
The text was updated successfully, but these errors were encountered:
Did you solve this, @breadadams?
Sorry, something went wrong.
No branches or pull requests
Hey Bass,
I'm getting the following error:
Notice: Undefined variable: woocommercetwitterbootstrap in /Applications/MAMP/htdocs [...] on line 300
Here's the exact code I've placed in my functions file:
And I copied all files from master.zip to the wts folder inside my themes woocommerce folder.
Any ideas?
The text was updated successfully, but these errors were encountered: