This can be really frustrating, you wanted your woocommerce shop running multilingual, but from cart page “Checkout” button leads to default language version? Solution is very simple, but […]
PHP
Posted on:
How to fix WooCommerce 404 error on product page
This can be frustrating when you are new to wordpres and/or woocommerce. You just created your first product, and got 404 when trying to see it. Fortunately solution […]
PHP / Wordpress
Posted on:
Quick tip: How to create WooCommerce product variants programmatically?
I found few solutions, but obviously none of them were working, so had to find it out by myself. So where to start – lets suppose we have […]
PHP / Wordpress
Posted on:
Quick tip – how to get specific posts/page by their ID?
At first look it was simple, just: $args = array(“post__in” => array(1,2,3)); $posts = new WP_Query(); $posts -> query($args); while ($posts -> have_posts()){ $posts -> the_post(); echo the_title().'<br/>’; […]
Wordpress
Posted on:
How to hide menu in own WordPress plugin?
Sometime you want to restrict parts of your plugin using additional permissions management, since this is quite easy, hiding menu items can be a bit tricky – you […]