Scroll to top

Blog

I would like to discuss on whatever your requirement will be. Also I feel pleasure to be a part on that. So let’s just the conversation and finish this in efficient way.

How to Update Custom Cart Count with AJAX in WooCommerce?

How to Update Custom Cart Count with AJAX in WooCommerce? function totalcartqty(){ ?> <div class=”header-cart-count”><?php echo WC()->cart->get_cart_contents_count(); ?></div> <?php } add_action(‘wp_head’,’totalcartqty’); add_filter( ‘woocommerce_add_to_cart_fragments’, ‘iconic_cart_count_fragments’, 10, 1 ); function iconic_cart_count_fragments( $fragments

Read More »

How to get multiple values from ajax in wordpress?

Get multiple values from ajax in wordpress. Paste this code in main file.  function single_user_data(){ var ajax = “https://wpcodekit.com/wp-admin/admin-ajax.php”;    var data = { ‘action’ : “get_single_use”, ‘ID’: user_id }

Read More »

How to create stylish table with CSS :nth-child() Selector with easy-way?

create table with CSS :nth-child() Selector <html> <head> <style> .container{  margin:auto;  width:80%; } .main-row{  width:20%;  float:left;  background-color:#0AA52D;  text-align:center;  padding:10px 0px; color:white; } .col-2{  width:20%;  float:left;  text-align:center;  padding:10px 0px;  border-bottom:1px solid #f1f1f1; } .row{  width:100%;

Read More »