Create a table in wordpress with functions.php
Create a table in wordpress with functions.php
Read MoreGet url of product's images in wordpress (woocommerce)
$product = wc_get_product( $product_id ); $image_id = $product->get_image_id(); $image_url = wp_get_attachment_image_url( $image_id,...
Read MoreSend email template with file_get_contents in wordpress
$body = file_get_contents(WP_CONTENT_DIR . '/themes/theme-name/emailtemplate.html'); $body = str_replace("#name#",$_POST['name'],$body); $body = str_replace("#email#",'<a style="color:#fff"...
Read MoreHow to validate email using jQuery?
To validate email using jQuery, use the regex pattern. You can try...
Read MoreGet cart item name, quantity all details woocommerce
To get Product Image and Regular & Sale Price:
Read MoreDisplay WooCommerce products with a shortcode using a custom meta_query
This is normal that it doesn’t return anything as you need to...
Read More.htaccess redirect all pages to new domain
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} !^YOURDOMAIN\.example$ [NC] RewriteRule ^(.*)$...
Read More