Do you want to add a “view cart” button to woocommerce product pages? Use the below code for it
Wordpress
Many of you must have faced this issue when wordpress backend is not showing the content but the actual page…
Woocommerce have many shipping methods. If you want to select the cheapest shipping method for your customer then add the…
You might have faced a situation when you are trying to is_home() inside functions.php but it is not working. If…
WordPress installation comes with many default scripts and one of them is jQuery. But many of us have faced this…
Use this code in theme’s functions.php /** Add Page Number to Meta Description **/function add_page_number_to_meta_description( $s ){global $page;$paged = get_query_var(…
Please copy this code in functions.php file of your theme function hide_admin_bar_from_front_end(){ if (is_blog_admin()) { return true; } return false;}add_filter(…
add_filter(‘upload_mimes’, ‘custom_upload_mimes’); function custom_upload_mimes ( $existing_mimes=array() ) { // add your extension to the array $existing_mimes[‘vcf’] = ‘text/x-vcard’; return $existing_mimes;}