// Add custom Theme Functions here // function devvn_remove_slug( $post_link, $post ) { if ( !in_array( get_post_type($post), array( 'product' ) ) || 'publish' != $post->post_status ) { return $post_link; } if('product' == $post->post_type){ $post_link = str_replace( '/san-pham/', '/', $post_link ); //Thay cua-hang bằng slug hiện tại của bạn }else{ $post_link = str_replace( '/' . $post->post_type . '/', '/', $post_link ); } return $post_link; } add_filter( 'post_type_link', 'devvn_remove_slug', 10, 2 ); /*Sửa lỗi 404 sau khi đã remove slug product hoặc cua-hang*/ function devvn_woo_product_rewrite_rules($flash = false) { global $wp_post_types, $wpdb; $siteLink = esc_url(home_url('/')); foreach ($wp_post_types as $type=>$custom_post) { if($type == 'product'){ if ($custom_post->_builtin == false) { $querystr = "SELECT {$wpdb->posts}.post_name, {$wpdb->posts}.ID FROM {$wpdb->posts} WHERE {$wpdb->posts}.post_status = 'publish' AND {$wpdb->posts}.post_type = '{$type}'"; $posts = $wpdb->get_results($querystr, OBJECT); foreach ($posts as $post) { $current_slug = get_permalink($post->ID); $base_product = str_replace($siteLink,'',$current_slug); add_rewrite_rule($base_product.'?$', "index.php?{$custom_post->query_var}={$post->post_name}", 'top'); add_rewrite_rule($base_product.'comment-page-([0-9]{1,})/?$', 'index.php?'.$custom_post->query_var.'='.$post->post_name.'&cpage=$matches[1]', 'top'); add_rewrite_rule($base_product.'(?:feed/)?(feed|rdf|rss|rss2|atom)/?$', 'index.php?'.$custom_post->query_var.'='.$post->post_name.'&feed=$matches[1]','top'); } } } } if ($flash == true) flush_rewrite_rules(false); } add_action('init', 'devvn_woo_product_rewrite_rules'); /*Fix lỗi khi tạo sản phẩm mới bị 404*/ function devvn_woo_new_product_post_save($post_id){ global $wp_post_types; $post_type = get_post_type($post_id); foreach ($wp_post_types as $type=>$custom_post) { if ($custom_post->_builtin == false && $type == $post_type) { devvn_woo_product_rewrite_rules(true); } } } add_action('wp_insert_post', 'devvn_woo_new_product_post_save'); function devvn_custom_woocommerce_structured_data_product ($data) { global $product; $data['brand'] = $product->get_attribute('pa_sachifoods') ? $product->get_attribute('pa_sachifoods') : null; $data['mpn'] = $product->get_sku() ? $product->get_sku() : null; $data['id'] = $product->get_id() ? $product->get_id() : null; return $data; } add_filter( 'woocommerce_structured_data_product', 'devvn_custom_woocommerce_structured_data_product' ); /* * Remove product-category in URL * Thay product-category bằng slug hiện tại của bạn. Mặc định là product-category */ add_filter( 'term_link', 'devvn_product_cat_permalink', 10, 3 ); function devvn_product_cat_permalink( $url, $term, $taxonomy ){ switch ($taxonomy): case 'product_cat': $taxonomy_slug = 'danh-muc'; //Thay bằng slug hiện tại của bạn. Mặc định là product-category if(strpos($url, $taxonomy_slug) === FALSE) break; $url = str_replace('/' . $taxonomy_slug, '', $url); break; endswitch; return $url; } // Add our custom product cat rewrite rules function devvn_product_category_rewrite_rules($flash = false) { $terms = get_terms( array( 'taxonomy' => 'product_cat', 'post_type' => 'product', 'hide_empty' => false, )); if($terms && !is_wp_error($terms)){ $siteurl = esc_url(home_url('/')); foreach ($terms as $term){ $term_slug = $term->slug; $baseterm = str_replace($siteurl,'',get_term_link($term->term_id,'product_cat')); add_rewrite_rule($baseterm.'?$','index.php?product_cat='.$term_slug,'top'); add_rewrite_rule($baseterm.'page/([0-9]{1,})/?$', 'index.php?product_cat='.$term_slug.'&paged=$matches[1]','top'); add_rewrite_rule($baseterm.'(?:feed/)?(feed|rdf|rss|rss2|atom)/?$', 'index.php?product_cat='.$term_slug.'&feed=$matches[1]','top'); } } if ($flash == true) flush_rewrite_rules(false); } add_action('init', 'devvn_product_category_rewrite_rules'); /*Sửa lỗi khi tạo mới taxomony bị 404*/ add_action( 'create_term', 'devvn_new_product_cat_edit_success', 10, 2 ); function devvn_new_product_cat_edit_success( $term_id, $taxonomy ) { devvn_product_category_rewrite_rules(true); } add_filter( 'add_to_cart_text', 'woo_custom_cart_button_text' ); // < 2.1 add_filter( 'woocommerce_product_add_to_cart_text', 'woo_custom_cart_button_text' ); // 2.1 + function woo_custom_cart_button_text() { return __( 'Xem chi tiết', 'woocommerce' ); }{"id":15131,"date":"2023-06-16T16:22:12","date_gmt":"2023-06-16T09:22:12","guid":{"rendered":"https:\/\/banhtrangsachi.com\/?p=15131"},"modified":"2023-06-16T16:22:12","modified_gmt":"2023-06-16T09:22:12","slug":"5-cach-xao-nhong-ngon-beo-hap-dan","status":"publish","type":"post","link":"https:\/\/banhtrangsachi.com\/am-thuc\/5-cach-xao-nhong-ngon-beo-hap-dan\/","title":{"rendered":"5 c\u00e1ch x\u00e0o nh\u1ed9ng ngon b\u00e9o, h\u1ea5p d\u1eabn d\u1ec5 l\u00e0m ngay t\u1ea1i nh\u00e0"},"content":{"rendered":"
C\u00e1c m\u00f3n \u0103n l\u00e0m t\u1eeb nh\u1ed9ng \u0111\u1ec1u l\u00e0 nh\u1eefng m\u00f3n \u0103n ngon v\u00f4 c\u00f9ng b\u1ed5 d\u01b0\u1ee1ng m\u00e0 b\u1ea1n kh\u00f4ng n\u00ean b\u1ecf qua. H\u00f4m nay, SACHI FOOD<\/a> s\u1ebd gi\u1edbi thi\u1ec7u \u0111\u1ebfn b\u1ea1n 5 c\u00e1ch x\u00e0o<\/a>\u00a0nh\u1ed9ng ngon b\u00e9o, h\u1ea5p d\u1eabn d\u1ec5 l\u00e0m ngay t\u1ea1i nh\u00e0.\u00a0V\u00e0o b\u1ebfp<\/a>\u00a0th\u1ef1c h\u00e0nh li\u1ec1n n\u00e0o!<\/p>\n Nh\u1ed9ng sau khi mua v\u1ec1, b\u1ea1n r\u1eeda s\u1ea1ch v\u1edbi n\u01b0\u1edbc r\u1ed3i \u0111\u1ec3 r\u00e1o.<\/p>\n B\u1eafc\u00a0n\u1ed3i\u00a0l\u00ean b\u1ebfp, cho v\u00e0o n\u1ed3i kho\u1ea3ng 500ml n\u01b0\u1edbc c\u00f9ng v\u1edbi nh\u1ed9ng \u0111\u00e3 s\u01a1 ch\u1ebf r\u1ed3i \u0111un s\u00f4i v\u00e0 lu\u1ed9c t\u1eeb 1 – 2 ph\u00fat th\u00ec v\u1edbt nh\u1ed9ng ra \u0111\u1ec3 ngu\u1ed9i.<\/p>\n B\u1eafc\u00a0ch\u1ea3o\u00a0l\u00ean b\u1ebfp, v\u1eb7n l\u1eeda v\u1eeba, cho nh\u1ed9ng v\u00e0o ch\u1ea3o \u0111\u1ea3o \u0111\u1ec1u tay \u0111\u1ebfn khi nh\u1ed9ng kh\u00f4 gi\u00f2n.<\/p>\n K\u1ebf ti\u1ebfp, b\u1ea1n cho h\u00e0nh t\u00edm v\u00e0o \u0111\u1ea3o \u0111\u1ec1u kho\u1ea3ng 1 ph\u00fat th\u00ec n\u00eam v\u00e0o ch\u1ea3o 1.5 mu\u1ed7ng canh n\u01b0\u1edbc m\u1eafm, 1\/2 mu\u1ed7ng canh b\u1ed9t ng\u1ecdt, 2 mu\u1ed7ng canh d\u1ea7u \u0103n r\u1ed3i ti\u1ebfp t\u1ee5c x\u00e0o th\u00eam 2 ph\u00fat n\u1eefa th\u00ec t\u1eaft b\u1ebfp.<\/p>\n B\u1ea1n cho t\u1ea5t c\u1ea3 nh\u1ed9ng ra\u00a0d\u0129a\u00a0r\u1ed3i r\u1eafc th\u00eam \u1edbt l\u00ean tr\u00ean \u0111\u1ec3 trang tr\u00ed l\u00e0 m\u00f3n \u0103n ho\u00e0n th\u00e0nh r\u1ed3i.<\/p>\n<\/div>\n<\/li>\n M\u00f3n \u0103n c\u00f3 m\u00f9i v\u1ecb \u0111\u1eb7c tr\u01b0ng c\u1ee7a n\u01b0\u1edbc m\u1eafm. Khi \u0103n chung v\u1edbi c\u01a1m n\u00f3ng, b\u1ea1n s\u1ebd c\u1ea3m nh\u1eadn \u0111\u01b0\u1ee3c v\u1ecb m\u1eb7n m\u1eb7n c\u1ee7a n\u01b0\u1edbc m\u1eafm h\u00f2a quy\u1ec7n c\u00f9ng v\u1ecb b\u00e9o b\u00e9o v\u1ed1n c\u00f3 c\u1ee7a nh\u1ed9ng t\u1ea1o ra m\u1ed9t v\u1ecb ngon kh\u00f3 c\u01b0\u1ee1ng. H\u00e3y th\u1eed ngay nh\u00e9!<\/p>\n Nh\u1ed9ng sau khi mua v\u1ec1 b\u1ea1n r\u1eeda th\u1eadt s\u1ea1ch d\u01b0\u1edbi v\u00f2i n\u01b0\u1edbc ch\u1ea3y r\u1ed3i \u0111\u1ec3 r\u00e1o.<\/p>\n<\/div>\n<\/li>\n L\u00e1 chanh b\u1ea1n r\u1eeda s\u1ea1ch v\u1edbi n\u01b0\u1edbc, \u0111\u1ec3 r\u00e1o r\u1ed3i c\u1eaft th\u00e0nh nh\u1eefng s\u1ee3i m\u1ecfng.<\/p>\n<\/div>\n<\/li>\n B\u1eafc\u00a0ch\u1ea3o\u00a0l\u00ean b\u1ebfp, v\u1eb7n l\u1eeda v\u1eeba, cho nh\u1ed9ng v\u00e0o ch\u1ea3o \u0111\u1ea3o \u0111\u1ec1u cho nh\u1ed9ng s\u0103n l\u1ea1i v\u00e0 r\u00e1o n\u01b0\u1edbc ho\u00e0n to\u00e0n.<\/p>\n K\u1ebf ti\u1ebfp, cho v\u00e0o ch\u1ea3o 2 mu\u1ed7ng canh d\u1ea7u \u0103n r\u1ed3i d\u00f9ng \u0111\u0169a \u0111\u1ea3o \u0111\u1ec1u kho\u1ea3ng 3 ph\u00fat.<\/p>\n Sau \u0111\u00f3, n\u00eam v\u00e0o ch\u1ea3o 1 mu\u1ed7ng c\u00e0 ph\u00ea b\u1ed9t ng\u1ecdt, 1\/2 mu\u1ed7ng canh n\u01b0\u1edbc m\u1eafm v\u00e0 \u0111\u1ea3o \u0111\u1ec1u th\u00eam 2 ph\u00fat n\u1eefa th\u00ec cho ti\u1ebfp l\u00e1 chanh v\u00e0o x\u00e0o s\u01a1 30 gi\u00e2y r\u1ed3i t\u1eaft b\u1ebfp cho nh\u1ed9ng ra d\u0129a.<\/p>\n M\u00f3n \u0103n ho\u00e0n th\u00e0nh mang m\u00f9i th\u01a1m nh\u1eb9 c\u1ee7a l\u00e1 chanh. Nh\u1ed9ng \u0103n r\u1ea5t m\u1ec1m v\u00e0 r\u1ea5t b\u00e9o. M\u00f3n n\u00e0y m\u00e0 c\u00f3 m\u1eb7t trong b\u1eefa c\u01a1m gia \u0111\u00ecnh b\u1ea1n th\u00ec s\u1ebd h\u1ebft c\u01a1m li\u1ec1n \u0111\u1ea5y.<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n Nh\u1ed9ng t\u1eb1m\u00a0250 gr<\/small>\u00a0B\u01a1 l\u1ea1t\u00a01 mu\u1ed7ng canh<\/small>\u00a0T\u1ecfi\u00a02 mu\u1ed7ng c\u00e0 ph\u00ea<\/small>(b\u0103m nhuy\u1ec5n)<\/em>\u00a0Gia v\u1ecb th\u00f4ng d\u1ee5ng\u00a01 \u00edt<\/small>(Ti\u00eau\/ mu\u1ed1i\/ h\u1ea1t n\u00eam)<\/em><\/p>\n<\/div>\n<\/div>\n Nh\u1ed9ng sau khi mua v\u1ec1 b\u1ea1n r\u1eeda s\u01a1 v\u1edbi n\u01b0\u1edbc. Sau \u0111\u00f3, b\u1ea1n cho m\u1ed9t \u00edt mu\u1ed1i v\u00e0o r\u1ed3i r\u1eeda s\u1ea1ch v\u00e0 \u0111\u1ec3 r\u00e1o.<\/p>\n B\u1ea1n cho nh\u1ed9ng v\u00e0o\u00a0d\u0129a\u00a0\u01b0\u1edbp c\u00f9ng 1 mu\u1ed7ng c\u00e0 ph\u00ea h\u1ea1t n\u00eam, 1\/2 mu\u1ed7ng c\u00e0 ph\u00ea ti\u00eau xay r\u1ed3i tr\u1ed9n \u0111\u1ec1u cho nh\u1ed9ng th\u1ea5m gia v\u1ecb.<\/p>\n<\/div>\n<\/li>\n B\u1eafc\u00a0ch\u1ea3o\u00a0l\u00ean b\u1ebfp, cho v\u00e0o ch\u1ea3o 1 mu\u1ed7ng canh b\u01a1 l\u1ea1t c\u00f9ng 2 mu\u1ed7ng c\u00e0 ph\u00ea t\u1ecfi b\u0103m r\u1ed3i \u0111un cho b\u01a1 tan ch\u1ea3y.<\/p>\n Sau \u0111\u00f3, b\u1ea1n cho nh\u1ed9ng v\u00e0o x\u00e0o \u0111\u1ec1u tay kho\u1ea3ng 5 ph\u00fat th\u00ec t\u1eaft b\u1ebfp v\u00e0 cho nh\u1ed9ng ra d\u0129a.<\/p>\n M\u00f3n \u0103n ho\u00e0n th\u00e0nh mang m\u1ed9t m\u00f9i th\u01a1m ph\u1ee9c c\u1ee7a b\u01a1 v\u00e0 t\u1ecfi h\u1ea5p d\u1eabn v\u00f4 c\u00f9ng. Nh\u1ed9ng khi \u0103n b\u1ea1n s\u1ebd c\u1ea3m nh\u1eadn \u0111\u01b0\u1ee3c \u0111\u1ed9 b\u00e9o b\u00f9i v\u00e0 k\u00e8m v\u1ecb ng\u1ecdt l\u1ee3 l\u1ee3. S\u1ebd r\u1ea5t tuy\u1ec7t v\u1eddi khi \u0103n k\u00e8m m\u00f3n n\u00e0y v\u1edbi c\u01a1m tr\u1eafng \u0111\u1ea5y.<\/p>\n Nh\u1ed9ng t\u1eb1m\u00a0400 gr<\/small>\u00a0L\u00e1 chanh\u00a03 l\u00e1<\/small>(c\u1eaft s\u1ee3i)<\/em>\u00a0H\u00e0nh t\u00edm\u00a04 mu\u1ed7ng c\u00e0 ph\u00ea<\/small>(c\u1eaft nh\u1ecf)<\/em>\u00a0\u1edat\u00a04 mu\u1ed7ng c\u00e0 ph\u00ea<\/small>(c\u1eaft nh\u1ecf)<\/em>\u00a0Gi\u1ea5m\u00a01 mu\u1ed7ng canh<\/small>\u00a0T\u01b0\u01a1ng \u1edbt\u00a01 mu\u1ed7ng canh<\/small>\u00a0D\u1ea7u \u0103n\u00a02 mu\u1ed7ng canh<\/small>\u00a0N\u01b0\u1edbc m\u1eafm\u00a01 mu\u1ed7ng canh<\/small>\u00a0\u0110\u01b0\u1eddng\u00a01 mu\u1ed7ng canh<\/small><\/p>\n<\/div>\n<\/div>\n Nh\u1ed9ng sau khi mua v\u1ec1 b\u1ea1n r\u1eeda s\u1ea1ch v\u1edbi n\u01b0\u1edbc r\u1ed3i \u0111\u1ec3 r\u00e1o.<\/p>\n B\u1eafc n\u1ed3i\u00a0l\u00ean b\u1ebfp, cho v\u00e0o n\u1ed3i 500ml n\u01b0\u1edbc r\u1ed3i cho nh\u1ed9ng v\u00e0o lu\u1ed9c kho\u1ea3ng 1 ph\u00fat r\u1ed3i v\u1edbt ra \u0111\u1ec3 r\u00e1o.<\/p>\n1.<\/b>\u00a0Nh\u1ed9ng x\u00e0o m\u1eafm h\u00e0nh<\/h2>\n
Nh\u1ed9ng x\u00e0o m\u1eafm h\u00e0nh: <\/span>Cho 3 ng\u01b0\u1eddi<\/small><\/div>\n<\/div>\n
D\u1ee5ng c\u1ee5 th\u1ef1c hi\u1ec7n<\/h2>\n
C\u00e1ch ch\u1ecdn mua h\u00e0nh t\u00edm t\u01b0\u01a1i ngon<\/h2>\n
\n
<\/p>\n<\/div>\n<\/div>\n
C\u00e1ch ch\u1ebf bi\u1ebfn Nh\u1ed9ng x\u00e0o m\u1eafm h\u00e0nh<\/h2>\n
\n
<\/div>\n
<\/div>\n<\/div>\n<\/div>\n<\/li>\n
<\/div>\n<\/div>\n<\/div>\n<\/li>\n
<\/div>\n<\/div>\n<\/div>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n
2.<\/b>\u00a0Nh\u1ed9ng x\u00e0o l\u00e1 chanh<\/h2>\n
<\/div>\n
\n
D\u1ee5ng c\u1ee5 th\u1ef1c hi\u1ec7n<\/h2>\n
H\u00ecnh nguy\u00ean li\u1ec7u<\/h2>\n
<\/p>\n<\/div>\n<\/div>\n
C\u00e1ch ch\u1ebf bi\u1ebfn Nh\u1ed9ng x\u00e0o l\u00e1 chanh<\/h2>\n
\n
<\/div>\n<\/div>\n<\/div>\n<\/li>\n
3.<\/b>\u00a0Nh\u1ed9ng x\u00e0o b\u01a1 t\u1ecfi<\/h2>\n
<\/div>\n<\/div>\n
Nguy\u00ean li\u1ec7u l\u00e0m Nh\u1ed9ng x\u00e0o b\u01a1 t\u1ecfi: Cho 2 ng\u01b0\u1eddi<\/small><\/h2>\n
D\u1ee5ng c\u1ee5 th\u1ef1c hi\u1ec7n<\/h2>\n
H\u00ecnh \u1ea3nh nguy\u00ean li\u1ec7u<\/h2>\n
<\/p>\n<\/div>\n<\/div>\n
C\u00e1ch ch\u1ebf bi\u1ebfn Nh\u1ed9ng x\u00e0o b\u01a1 t\u1ecfi<\/h2>\n
\n
<\/div>\n
<\/div>\n<\/div>\n<\/div>\n<\/li>\n
<\/div>\n<\/div>\n<\/div>\n<\/li>\n
<\/div>\n<\/div>\n<\/div>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n
4.<\/b>\u00a0Nh\u1ed9ng x\u00e0o chua ng\u1ecdt<\/h2>\n
<\/div>\n<\/div>\n
Nguy\u00ean li\u1ec7u l\u00e0m Nh\u1ed9ng x\u00e0o chua ng\u1ecdt: Cho 3 ng\u01b0\u1eddi<\/small><\/h2>\n
D\u1ee5ng c\u1ee5 th\u1ef1c hi\u1ec7n<\/h2>\n
H\u00ecnh \u1ea3nh nguy\u00ean li\u1ec7u<\/h2>\n
<\/p>\n<\/div>\n<\/div>\n
C\u00e1ch ch\u1ebf bi\u1ebfn Nh\u1ed9ng x\u00e0o chua ng\u1ecdt<\/h2>\n
\n
<\/div>\n<\/div>\n<\/div>\n<\/li>\n