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.

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 add another email in woocommerce order?

Add another email in woocommerce order add_filter( ‘woocommerce_email_recipient_customer_completed_order’, ‘your_email_recipient_filter_function’, 10, 2); function your_email_recipient_filter_function($recipient, $object) {     $recipient = $recipient . ‘,[email protected]’;     return $recipient; }  Add another email

Read More »

How to create professional login form in HTML and CSS ?

 create professional login form <html> <head> <style> section.elementor-element.elementor-element-809d463.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default.elementor-section.elementor-top-section { display: none; } .elementor-inner { display: none; } .wrapper{ width:100%; height:100vh; display: flex; justify-content: center; align-items: center; } .wrap{ width:80%; margin:auto;

Read More »

How to fetch data from database in wordpress?

<table border=”1″> <tr> <th>Name</th> <th>Phone no.</th> <th>city</th> </tr> <tr> <?php global $wpdb; $result = $wpdb->get_results ( “SELECT * FROM myTable” ); foreach ( $result as $print ) { echo ‘<td>’

Read More »