mas6ce
Forum Replies Created
-
Forum: Plugins
In reply to: [Max Mega Menu] Moving Submenu PopupSure! It is http://www.culturecorners.com – the menu acting up is the top menu with the “languages” button
Forum: Fixing WordPress
In reply to: 404 Error on MultisiteThanks Tara – I’ve seen a lot of support threads that mention the problem being a disconnect between defining the site as http://www.culturecorners.com and simply culturecorners.com … I’ve changed everything I can think of to match so that everything is either with the www. or without the http://www., but that didn’t make a difference.
Forum: Fixing WordPress
In reply to: 404 Error on MultisiteDoes anyone have any suggestions on how to fix the problem?
Forum: Fixing WordPress
In reply to: 404 Error on MultisiteThank you! I have already changed all the information on my account – I didn’t realize it was included in the wp-config file!
Forum: Fixing WordPress
In reply to: 404 Error on MultisiteOh thanks Laurena!!
Forum: Plugins
In reply to: [Code Snippets] added code but not workingHi! I’m trying to remove the “add to cart” button and display a different message for some customers (depending on badges through myCred) and have the normal add-to-cart option for others. I wrote this code and the plugin doesn’t object to any syntax, but it is not working. I really appreciate any help with this – thank you!!
// this keeps the site from crashing if badges are disabled if (function_exists ('mycred_get_users_badges')){ // get a variable for the badge of the user // *note: this only works if badges are only used for purchasing myCred and reset after each purchase! $this->load->database(); class mycred; $mycred = new mycred; $userPurchasedCultureCoinsQuestion = $this->$mycred->get_users_badges ($user_id); // get users' user ID $user_id = pb_displayed_user_id(); // text for purchase button if user has a badge/cannot purchase if ( ($userPurchasedCultureCoinsQuestion == 0)) { function remove_loop_button(){ remove_action ('woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10); remove_action ('woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30); add_action ('init', 'remove_loop_button'); add_action (echo "sorry, you don't have enough earned Culture Coins to purchase"); } }Forum: Plugins
In reply to: [Skype Legacy Buttons] Buttons in ChineseThat’s a great idea I will try that thanks!