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 insert data in database with ajax in cordova?

Insert data in database with ajax in cordova. Paste in function.php file  function insert_cordova_message(){  if(function_exists(‘date_default_timezone_set’)) {    date_default_timezone_set(“Asia/Kolkata”);} // then use the date functions, not the other way around$date =

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 »

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 get woocommerce products in loop ?

How to get woocommerce products in loop ? with shortcode function crousalproducts(){ ?> <ul class=”products”> <?php $args = array( ‘post_type’ => ‘product’, ‘posts_per_page’ => 12 ); $loop = new WP_Query(

Read More »