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 get Selected Option Text of HTML SELECT using jQuery?

Get Selected Option Text of HTML SELECT using jQuery <select id=”mySelect”>     <option value=”1″>hello</option>     <option value=”2″>bro</option> </select> <input type=”button” id=”test“ value = “test“ /> <script type=”text/javascript”>     $(“#test”).live(“click”, function () {                  var selectedText = $(“#mySelect option:selected”).html();         alert(selectedText);     }); </script>

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 »

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 use shortcode in wordpress?

use shortcode in wordpress in function.php or main plugin file function login_register(){ ?> <div  id=”loginform”><form method=”post” action=””> <h4>Login</h4> <div class=”border”></div> <div><span id=”or”>or<span><span id=”full1″> create an account</span></div> <div class=”wrap-input100 validate-input” data-validate=”Enter

Read More »