trineschack
Forum Replies Created
-
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] PHP 5.6Yes, sorry for not getting back, installing it with fies from your link worked fine -thankyou very much
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] PHP 5.6Thankyou David, I’ll try to reinstall with your zip.
I didn’t really have a say in PHP 5.6 beeing installed on my host server, so I’ll just have to Work with that.I’m not really sure which opcode cacher my host uses, but if the restallation fails Again, I’ll have a look into it.
KR
TrineForum: Plugins
In reply to: [WooCommerce] Product category pages gone from frontendWell – the issue has been fixed, just by saving the permalink settings page.
Forum: Plugins
In reply to: [WooCommerce] Product category pages gone from frontendSingle products still show – but the breadcrumb link to the category page below the add to basket button is also sending an “nothing found”
http://aloeshop.dk/butik/brilliant-blush-aanya/
Forum: Plugins
In reply to: woocommerce single product priceups – here’s the correct code, that I’m using:
As you see, I’m not removing prices for uses who reside in denmark.add_filter('woocommerce_get_price_html','members_only_price'); function members_only_price($price){ $langcodes=$_SERVER['HTTP_ACCEPT_LANGUAGE']; $host=gethostbyaddr( $_SERVER['REMOTE_ADDR'] ); if(preg_match("/(da|da-DK)([,;].*)?$/i",$langcodes) || preg_match("/(\.dk)$/i", $host)) { return $price; } elseif (is_user_logged_in() ){ return $price; } else remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10); remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 ); remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 10); remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_price', 10 ); return '<a href="' .get_permalink(woocommerce_get_page_id('myaccount')). '">Login</a> eller <a href="'.site_url('/wp-login.php?action=register&redirect_to=' . get_permalink()).'">Registrer</a> for at se priser!'; }Forum: Plugins
In reply to: [WooCommerce] product imageshttp://aloeshop.dk/butik/aloe-vera-gelly/
funny – I can’t seem to get the link to shoe here…. trying again