Forwarded from Kabar WP
Kuy lah kita upgrade Ruby ke versi 3, karena ada JIT untuk meningkatkan kecepatan 🙌
https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/
https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/
Ruby Programming Language
Ruby 3.0.0 Released | Ruby
We are pleased to announce the release of Ruby 3.0.0. From 2015 we developed hard toward Ruby 3, whose goal is performance, concurrency, and Typing. Especial...
https://stackoverflow.com/questions/42225677/listen-error-unable-to-monitor-directories-for-changes
#rails
#rails
Stack Overflow
Listen error: unable to monitor directories for changes
I am getting the following error while running my rails app in Ubuntu server
FATAL: Listen error: unable to monitor directories for changes. Visit
https://github.com/guard/listen/wiki/Increasin...
FATAL: Listen error: unable to monitor directories for changes. Visit
https://github.com/guard/listen/wiki/Increasin...
https://code.tutsplus.com/tutorials/create-a-custom-shipping-method-for-woocommerce--cms-26098
#woocommerce #wp
#woocommerce #wp
Code Envato Tuts+
Create a Custom Shipping Method for WooCommerce
If you have ever developed something for WordPress, be it a theme or a simple plugin, you are already familiar with the modularity of WordPress. WooCommerce is developed with extendability in mind...
https://stackoverflow.com/questions/60403220/woocommerce-custom-shipping-method-not-appearing-in-shipping-zone
#woocommerce #wp
#woocommerce #wp
Stack Overflow
woocommerce custom shipping method not appearing in shipping zone
EDITED - Progress made on original post
I have created a simple custom shipping method plugin stub (see code below).
The plugin is registered and now appears in the shipping method dropdown when...
I have created a simple custom shipping method plugin stub (see code below).
The plugin is registered and now appears in the shipping method dropdown when...
Menampilkan Woocommerce Pagination pada saat mengguakan WP_Query
global $woocommerce_loop;#wp #woocommerce
$per_page = apply_filters('loop_shop_per_page', $evolve_loop_shop_per_page);
$paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
$query = new WP_Query( $args );
$woocommerce_loop['paged'] = (isset($woocommerce_loop['paged'])) ? $woocommerce_loop['paged'] : 1;
$woocommerce_loop['total'] = $query->found_posts;
$woocommerce_loop['post_count'] = $query->post_count;
$woocommerce_loop['per_page'] = $per_page;
$woocommerce_loop['total_pages'] = ceil($query->found_posts/$per_page);
$woocommerce_loop['current_page'] = $paged;
https://stackoverflow.com/questions/29789680/how-to-add-woocommerce-custom-order-status
NB:
NB:
register_post_status( 'ini jangan lebih dari 20 chars')
Stack Overflow
How to add woocommerce custom order status?
I have added new custom order status to woocommerce by using following function.
// Register New Order Statuses
function wpex_wc_register_post_statuses() {
register_post_status( 'wc-custom-...
// Register New Order Statuses
function wpex_wc_register_post_statuses() {
register_post_status( 'wc-custom-...