Isu
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Fastest Cache] WPFC freeze page opening on Internet Explorer PagesActually in Norway it is about 18.36% for desktop users ??
btw. Same issue.Hello ??
Yep would be nice if plugin could support translation, I also can translate it to Polish. Because I really need to do it.
Forum: Plugins
In reply to: [WooCommerce] Product type dropdown issue on touch screenThanks for not reading my comment to end where I write I have turned on only woocommerce and theme was storefront from woocommerce ??
Forum: Plugins
In reply to: [JWT Authentication for WP REST API] Remove JWT Token on logoutHey, UP
I find out https://github.com/jonathan-dejong/simple-jwt-authentication/wiki/Documentation,
Should fit your needsForum: Plugins
In reply to: [JWT Authentication for WP REST API] Remove JWT Token on logoutGreat Question, did you find answer maybe ? ??
Forum: Plugins
In reply to: [Polylang] 500 Error after Version 2.3.2Yep, I also get an 500 error after update to 2.3.2,
Actually Im using Polylang in Rest Call, everything was great until 2.3.2. I check it by roll back to 2.3.1 -> everything is correct.
Since 2.3.2 Im getting ->
Fatal error: Call to undefined function pll_get_term() in (… my call REST WP API v2 hook)
So I manually include fileif ( !function_exists( 'pll_get_term' ) ) { require_once ABSPATH . PLUGINDIR . '/polylang/include/api.php'; }
so then Im getting:
Notice: Trying to get property of non-object in /var/www/1/146579/www/wp-content/plugins/polylang/include/api.php on line 82Notice: Trying to get property of non-object in /var/www/1/146579/www/wp-content/plugins/polylang/include/api.php on line 82
Fatal error: Call to a member function get() on null in /var/www/1/146579/www/wp-content/plugins/polylang/include/api.php on line 82
Forum: Plugins
In reply to: [Polylang] get_terms() ignores ‘lang’?Sorry, I noticed this issue after installing pro, but on other website, I had same error, and my friend to.
Wierd thing issays it should work. And it worked. Then it stopped.
It seems to be a some kind of bug.
I also want point – I use it in WP REST.
I fixed it using:$positions_tax = get_terms( 'pos', $args ); if($positions_tax){ foreach ($positions_tax as $key => $tax) { if(pll_get_term_language($tax->term_id) !== $args['lang']){ unset($positions_tax[$key]); } } $positions_tax = array_values($positions_tax); }
Sorry for late answer ??
Forum: Reviews
In reply to: [JC Submenu] Don’t Work On MobileI dont think this plugi nadd any styles, to you theme, it only add navi items. so you should manually add styles by yourself or get theme that support multilevel WordPress navigation if you want that ??
Forum: Plugins
In reply to: [Polylang] get_terms() ignores ‘lang’?does you use Polylang or polylang pro ?
Forum: Plugins
In reply to: [WooCommerce] Local pickup woocommerceIs product purchable ? is in stock ?
Try default storefront theme and check if it work.
If yes, it is theme fault, maybe some hook that delete Add To cart button ot bad template override.Forum: Plugins
In reply to: [WooCommerce] total cart wrongWhen I first (as new fresh customer) Come to page And add product for 20€ I saw total 20.
Then I select Country (Italy in this case) Thane I see total 23.
(On the upper right corner I see all time 20)
—
Remove products, add again other
—
Page remember my Country select, in Cart page i See subtotal 12, total 15
— This is correct —If you want you can remove in settings shipping calculation on cart page.
Your cart contain all the time subtotal correct – price without shipping
Or If you dont want display Total but want to see customer shipping options, just hide total.
.mkd-woocommerce-page.woocommerce-cart .cart-collaterals table tr.order-total {display: none !important}
and mage subtotal some bolder or whatever.BTW. Your page is way toooooo slow, try speed it up (somehow #WooSlow) or your customers will no return :/
- This reply was modified 7 years, 1 month ago by Isu.
Forum: Plugins
In reply to: [WooCommerce] 404s GaloreI have simply question … Did you tried go to Settings->Permalinks and check there e.g Post name in Common Settings Then Save those settings?
This may help.Forum: Plugins
In reply to: [WooCommerce] Disable single product page for out-of-stock productsTry This:
/** * Retrieve a product given its slug. */ function get_product_by_slug($page_slug) { global $wpdb; $product = $wpdb->get_var( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE post_name = %s AND post_type= %s", $page_slug, 'product')); if ( $product ) return wc_get_product($product); return null; } function redirect_out_of_stock_product( $query ) { if( !is_admin() && $query->is_main_query() && $query->query['post_type'] === 'product' ){ $product = get_product_by_slug($query->query['name']); if( !$product->is_in_stock() ){ wp_redirect( 'https://example.com/some/page' ); } } } add_action( 'pre_get_posts', 'redirect_out_of_stock_product' );
- This reply was modified 7 years, 1 month ago by Isu.
Forum: Plugins
In reply to: [WooCommerce] Why this snippet not work ?I check code and it work, Question is, you call it in correct file? like in functions.php?
Second line you meanecho get_post_meta(361, ‘_subtitol_products’, true);
?
Did you receive correct product ID ?Try use default WP theme, and try this code, maybe somewhere in your theme is hook that mess with this action.
Forum: Plugins
In reply to: [WooCommerce] Woo features only on twenty*** themes?Thanks you soooooooo much ??