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 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 stop and pause youtue video in jquery?

How to stop and pause youtue video in jquery?                                Html <iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/mKt-MDwtVB4″ frameborder=”0″

Read More »

How to exchange related products with full description in woocommerce?

 exchange related products with full description in woocommerce add_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_related_products’, 2 ); remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_related_products’, 20 ); Get more information Read More Posts

Read More »

How to shrink navbar on scroll ?

Shrink navbar on scroll  <style>.nav_logo_scroll{ width: 120px !important;     transition: all 0.5s linear; margin-left: 45px}.jassi{ width: 100% !important;   transition: all 0.5s linear;}</style> <script>jQuery(document).ready(function($){ $(window).scroll(function() { if($(document).scrollTop() >=1) {

Read More »

Check User Has Already Purchased Product in woo-commerce?

  WooCommerce: Check if User Has Already Purchased Product function start_deal_button(){ ob_start(); global $user; global $product; $current_user = wp_get_current_user(); if(!is_user_logged_in()) { echo “<a href='”.site_url().’/my-account’.”‘ class=’start-deal-button’>Start Deal  <i class=’fa fa-handshake’></i></a>”; }

Read More »