Skip to main content

Posts

Organic Farm : Free Divi landing page layout

Landing pages are some of the most crucial pages of any website. They provide the information your visitors need to make a quick decision about your business, and direct readers to your call to action. Organic Farm displays a CTA over a full-screen image in parallax that moves in the opposite direction on scroll. The next section displays blurbs with large icons to show services with butiful hover effect. The Next Two Column Some information with image with animation. this layout you can Also use as Full One page Website. Organic Farm layout is Complete Solution for Your Website Contact Us Section, Map Section, Footer, News Section, Testimonial Section, Number Counter Section, About Us Section and Header Section All.. Organic Farm  Downlaod 

Pre-populate Woocommerce checkout fields for logged in user

Hi Friends In this Tip We Learn How to add Pre-populate Woocommerce checkout fields for logged in user. This will populate ‘value’ attribute of checkout input field. Add below code to Function.php file /** * Pre-populate Woocommerce checkout fields */ add_filter('woocommerce_checkout_get_value', function($input, $key ) { global $current_user; switch ($key) : case 'billing_first_name': case 'shipping_first_name': return $current_user->first_name; break; case 'billing_last_name': case 'shipping_last_name': return $current_user->last_name; break; case 'billing_email': return $current_user->user_email; break; case 'billing_phone': return $current_user->phone; break; endswitch; }, 10, 2);