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 data in database in wordpress?

<?php if(isset($_POST[“submit”])){ extract($_POST);$parametername = $_POST[‘parametersname’]; $id = 4;/***** updating user *****/ $userstable = $wpdb->prefix . “apindt_parameters”; $where = array( ‘ID’ => $id ); $wpdb->update( $userstable, array( ‘parameters_name’ => $parametersname, ‘wet’

Read More »

How to Remove WooCommerce Breadcrumbs in WordPress?

Remove WooCommerce Breadcrumbs in WordPress add_action(‘template_redirect’, ‘remove_shop_breadcrumbs’ ); function remove_shop_breadcrumbs(){     if (is_shop())         remove_action( ‘woocommerce_before_main_content’, ‘woocommerce_breadcrumb’, 20, 0); } OR if(is_shop()){ … } // shop

Read More »

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 »