How to get last id from sql database in wordpress ?
How to get last id from sql database in wordpress ? After insert code $lastid = $wpdb->insert_id; Get more information Read More Posts
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 last id from sql database in wordpress ? After insert code $lastid = $wpdb->insert_id; Get more information Read More Posts
Get previews years from current year in php <?php echo date(“Y”,strtotime(“-1 year”)); ?> Get more information Read More Posts
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>”; }
Submit a form with anchor tag (a and link) in jquery <form method=”get” action=””> <input type=”text” name=”ID” value=”jassi”> <input type=”text” name=”con” value=”singh”> <a href=”” onclick=”this.closest(‘form’).submit();return false;” value=”CONSTRUCTION CONTRACT”>CONSTRUCTION CONTRACT</a> </form>
Send id to another page via href link in table list <div class=”row”> <a href=”<?php echo site_url(); ?>/pagename/?ID=<?php echo $print->ID ;?>” class=”link”> <div class=”col-2″><?php echo $print->person_name ;?></div> <div
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
Redirect on any page in wordpress in php wp_redirect(site_url().’/page-name/‘); Get more information Read More Posts
wpcodekit Website Designers is one of the best website designing company in punjab 2020. We create beautiful looking, fast and secure websites.We are create professional websites in punjab since 2016.