{"id":1400,"date":"2025-10-07T22:38:26","date_gmt":"2025-10-07T15:38:26","guid":{"rendered":"https:\/\/cuongnguyen.io.vn\/?p=1384"},"modified":"2025-10-07T22:38:26","modified_gmt":"2025-10-07T15:38:26","slug":"tu-dong-them-gia-va-thanh-toan-cho-bai-viet-wordpress","status":"publish","type":"post","link":"https:\/\/cuongnguyen.bat.io.vn\/index.php\/2025\/10\/07\/tu-dong-them-gia-va-thanh-toan-cho-bai-viet-wordpress\/","title":{"rendered":"T\u1ef1 \u0110\u1ed9ng Th\u00eam Gi\u00e1 V\u00e0 Thanh To\u00e1n Cho B\u00e0i Vi\u1ebft WordPress"},"content":{"rendered":"<p>Trong b\u00e0i vi\u1ebft n\u00e0y, m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn b\u1ea1n c\u00e1ch t\u1ea1o m\u1ed9t h\u1ec7 th\u1ed1ng thanh to\u00e1n cho c\u00e1c b\u00e0i vi\u1ebft trong WordPress, gi\u00fap b\u1ea1n th\u00eam gi\u00e1 cho m\u1ed7i b\u00e0i vi\u1ebft v\u00e0 cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng thanh to\u00e1n \u0111\u1ec3 \u0111\u1ecdc b\u00e0i vi\u1ebft \u0111\u00f3. D\u01b0\u1edbi \u0111\u00e2y l\u00e0 m\u00e3 code chi ti\u1ebft \u0111\u1ec3 t\u00edch h\u1ee3p t\u00ednh n\u0103ng n\u00e0y v\u00e0o website WordPress c\u1ee7a b\u1ea1n.<\/p>\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" class=\"wp-image-1381\" src=\"http:\/\/cuongnguyen.bat.io.vn\/wp-content\/uploads\/2025\/10\/tu-dong-them-gia-va-thanh-toan-cho-bai-viet-wordpress.jpg\" sizes=\"(max-width: 1024px) 100vw, 1024px\" srcset=\"http:\/\/cuongnguyen.bat.io.vn\/wp-content\/uploads\/2025\/10\/tu-dong-them-gia-va-thanh-toan-cho-bai-viet-wordpress.jpg 1024w, https:\/\/hnitmedia.com\/wp-content\/uploads\/2025\/08\/chia-se-code-tu-dong-them-gia-va-thanh-toan-cho-bai-viet-wordpress-2-300x109.jpg 300w, https:\/\/hnitmedia.com\/wp-content\/uploads\/2025\/08\/chia-se-code-tu-dong-them-gia-va-thanh-toan-cho-bai-viet-wordpress-2-768x278.jpg 768w, https:\/\/hnitmedia.com\/wp-content\/uploads\/2025\/08\/chia-se-code-tu-dong-them-gia-va-thanh-toan-cho-bai-viet-wordpress-2-1536x556.jpg 1536w, https:\/\/hnitmedia.com\/wp-content\/uploads\/2025\/08\/chia-se-code-tu-dong-them-gia-va-thanh-toan-cho-bai-viet-wordpress-2.jpg 1662w\" alt=\"\" width=\"1024\" height=\"371\" \/><\/figure>\n<h2 class=\"wp-block-heading\">1. Th\u00eam Tr\u01b0\u1eddng Gi\u00e1 Cho B\u00e0i Vi\u1ebft Trong Ph\u1ea7n Admin<\/h2>\n<p>\u0110\u1ea7u ti\u00ean, ch\u00fang ta s\u1ebd th\u00eam m\u1ed9t tr\u01b0\u1eddng nh\u1eadp gi\u00e1 cho m\u1ed7i b\u00e0i vi\u1ebft trong khu v\u1ef1c qu\u1ea3n tr\u1ecb c\u1ee7a WordPress. Tr\u01b0\u1eddng n\u00e0y s\u1ebd gi\u00fap ng\u01b0\u1eddi qu\u1ea3n tr\u1ecb d\u1ec5 d\u00e0ng thi\u1ebft l\u1eadp gi\u00e1 cho c\u00e1c b\u00e0i vi\u1ebft.<\/p>\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers cbp-hl-loaded cbp-ff-loaded\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\">\n<pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><\/pre>\n<pre class=\"shiki nord\" tabindex=\"0\"><code><span class=\"line\">\/\/ Th\u00eam tr\u01b0\u1eddng gi\u00e1 cho b\u00e0i vi\u1ebft trong ph\u1ea7n Admin<\/span>\n<span class=\"line\">function add_post_price_field() {<\/span>\n<span class=\"line\">    add_meta_box(<\/span>\n<span class=\"line\">        'post_price', <\/span>\n<span class=\"line\">        'Gi\u00e1 b\u00e0i vi\u1ebft', <\/span>\n<span class=\"line\">        'post_price_callback', <\/span>\n<span class=\"line\">        'post', <\/span>\n<span class=\"line\">        'side', <\/span>\n<span class=\"line\">        'high'<\/span>\n<span class=\"line\">    );<\/span>\n<span class=\"line\">}<\/span>\n<span class=\"line\">add_action('add_meta_boxes', 'add_post_price_field');<\/span>\n\n<span class=\"line\">\/\/ H\u00e0m hi\u1ec3n th\u1ecb tr\u01b0\u1eddng gi\u00e1<\/span>\n<span class=\"line\">function post_price_callback($post) {<\/span>\n<span class=\"line\">    $price = get_post_meta($post-&gt;ID, '_post_price', true);<\/span>\n<span class=\"line\">    echo '&lt;label for=\"post_price\"&gt;Gi\u00e1 b\u00e0i vi\u1ebft: &lt;\/label&gt;';<\/span>\n<span class=\"line\">    echo '&lt;input type=\"text\" id=\"post_price\" name=\"post_price\" value=\"' . esc_attr($price) . '\" \/&gt;';<\/span>\n<span class=\"line\">}<\/span>\n\n<span class=\"line\">\/\/ L\u01b0u gi\u00e1 tr\u1ecb khi b\u00e0i vi\u1ebft \u0111\u01b0\u1ee3c l\u01b0u<\/span>\n<span class=\"line\">function save_post_price($post_id) {<\/span>\n<span class=\"line\">    if (array_key_exists('post_price', $_POST)) {<\/span>\n<span class=\"line\">        update_post_meta(<\/span>\n<span class=\"line\">            $post_id,<\/span>\n<span class=\"line\">            '_post_price',<\/span>\n<span class=\"line\">            $_POST['post_price']<\/span>\n<span class=\"line\">        );<\/span>\n<span class=\"line\">    }<\/span>\n<span class=\"line\">}<\/span>\n<span class=\"line\">add_action('save_post', 'save_post_price');<\/span><\/code><\/pre>\n<\/div>\n<h2 class=\"wp-block-heading\">2. Th\u00eam N\u00fat Thanh To\u00e1n V\u00e0o B\u00e0i Vi\u1ebft<\/h2>\n<p>Khi ng\u01b0\u1eddi d\u00f9ng truy c\u1eadp v\u00e0o m\u1ed9t b\u00e0i vi\u1ebft c\u00f3 gi\u00e1, n\u1ebfu h\u1ecd ch\u01b0a thanh to\u00e1n, ch\u00fang ta s\u1ebd hi\u1ec3n th\u1ecb m\u1ed9t n\u00fat \u201cThanh to\u00e1n \u0111\u1ec3 \u0111\u1ecdc b\u00e0i vi\u1ebft\u201d. N\u00fat n\u00e0y s\u1ebd d\u1eabn h\u1ecd t\u1edbi trang thanh to\u00e1n.<\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" class=\"wp-image-1382\" src=\"http:\/\/cuongnguyen.bat.io.vn\/wp-content\/uploads\/2025\/10\/tu-dong-them-gia-va-thanh-toan-cho-bai-viet-wordpress-1.jpg\" sizes=\"(max-width: 1024px) 100vw, 1024px\" srcset=\"http:\/\/cuongnguyen.bat.io.vn\/wp-content\/uploads\/2025\/10\/tu-dong-them-gia-va-thanh-toan-cho-bai-viet-wordpress-1.jpg 1024w, https:\/\/hnitmedia.com\/wp-content\/uploads\/2025\/08\/chia-se-code-tu-dong-them-gia-va-thanh-toan-cho-bai-viet-wordpress-3-300x166.jpg 300w, https:\/\/hnitmedia.com\/wp-content\/uploads\/2025\/08\/chia-se-code-tu-dong-them-gia-va-thanh-toan-cho-bai-viet-wordpress-3-768x425.jpg 768w, https:\/\/hnitmedia.com\/wp-content\/uploads\/2025\/08\/chia-se-code-tu-dong-them-gia-va-thanh-toan-cho-bai-viet-wordpress-3.jpg 1448w\" alt=\"\" width=\"1024\" height=\"566\" \/><\/figure>\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers cbp-hl-loaded cbp-ff-loaded\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\">\n<pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><\/pre>\n<pre class=\"shiki nord\" tabindex=\"0\"><code><span class=\"line\">\/\/ Th\u00eam n\u00fat thanh to\u00e1n v\u00e0o b\u00e0i vi\u1ebft n\u1ebfu c\u00f3 gi\u00e1 v\u00e0 ch\u01b0a thanh to\u00e1n<\/span>\n<span class=\"line\">function add_payment_button_to_post($content) {<\/span>\n<span class=\"line\">    if (is_single() &amp;&amp; is_user_logged_in()) {<\/span>\n<span class=\"line\">        global $post;<\/span>\n        \n<span class=\"line\">        \/\/ L\u1ea5y gi\u00e1 b\u00e0i vi\u1ebft<\/span>\n<span class=\"line\">        $price = get_post_meta($post-&gt;ID, '_post_price', true);<\/span>\n        \n<span class=\"line\">        if (!empty($price) &amp;&amp; $price &gt; 0) {<\/span>\n<span class=\"line\">            \/\/ Ki\u1ec3m tra n\u1ebfu ng\u01b0\u1eddi d\u00f9ng \u0111\u00e3 thanh to\u00e1n b\u00e0i vi\u1ebft<\/span>\n<span class=\"line\">            $has_paid = get_user_meta(get_current_user_id(), 'has_paid_for_' . $post-&gt;ID, true);<\/span>\n            \n<span class=\"line\">            if (!$has_paid) {<\/span>\n<span class=\"line\">                \/\/ T\u1ea1o link thanh to\u00e1n<\/span>\n<span class=\"line\">                $payment_url = esc_url(add_query_arg('post_id', $post-&gt;ID, get_permalink($post-&gt;ID)));<\/span>\n<span class=\"line\">                $content .= '&lt;div class=\"payment-button\"&gt;<\/span>\n<span class=\"line\">                    &lt;a href=\"' . $payment_url . '\" class=\"button\"&gt;Thanh to\u00e1n \u0111\u1ec3 \u0111\u1ecdc b\u00e0i vi\u1ebft&lt;\/a&gt;<\/span>\n<span class=\"line\">                &lt;\/div&gt;';<\/span>\n<span class=\"line\">            }<\/span>\n<span class=\"line\">        }<\/span>\n<span class=\"line\">    }<\/span>\n<span class=\"line\">    return $content;<\/span>\n<span class=\"line\">}<\/span>\n<span class=\"line\">add_filter('the_content', 'add_payment_button_to_post');<\/span><\/code><\/pre>\n<\/div>\n<h2 class=\"wp-block-heading\">3. Th\u00eam B\u00e0i Vi\u1ebft V\u00e0o Gi\u1ecf H\u00e0ng WooCommerce Khi Thanh To\u00e1n<\/h2>\n<p>Khi ng\u01b0\u1eddi d\u00f9ng nh\u1ea5n v\u00e0o n\u00fat thanh to\u00e1n, b\u00e0i vi\u1ebft s\u1ebd \u0111\u01b0\u1ee3c th\u00eam v\u00e0o gi\u1ecf h\u00e0ng WooCommerce d\u01b0\u1edbi d\u1ea1ng s\u1ea3n ph\u1ea9m \u1ea3o.<\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" class=\"wp-image-1383\" src=\"http:\/\/cuongnguyen.bat.io.vn\/wp-content\/uploads\/2025\/10\/tu-dong-them-gia-va-thanh-toan-cho-bai-viet-wordpress-2.jpg\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" srcset=\"http:\/\/cuongnguyen.bat.io.vn\/wp-content\/uploads\/2025\/10\/tu-dong-them-gia-va-thanh-toan-cho-bai-viet-wordpress-2.jpg 1024w, https:\/\/hnitmedia.com\/wp-content\/uploads\/2025\/08\/chia-se-code-tu-dong-them-gia-va-thanh-toan-cho-bai-viet-wordpress-1-300x182.jpg 300w, https:\/\/hnitmedia.com\/wp-content\/uploads\/2025\/08\/chia-se-code-tu-dong-them-gia-va-thanh-toan-cho-bai-viet-wordpress-1-768x465.jpg 768w, https:\/\/hnitmedia.com\/wp-content\/uploads\/2025\/08\/chia-se-code-tu-dong-them-gia-va-thanh-toan-cho-bai-viet-wordpress-1.jpg 1478w\" alt=\"\" width=\"1024\" height=\"620\" \/><\/figure>\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers cbp-hl-loaded cbp-ff-loaded\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\">\n<pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><\/pre>\n<pre class=\"shiki nord\" tabindex=\"0\"><code><span class=\"line\">\/\/ Th\u00eam b\u00e0i vi\u1ebft v\u00e0o gi\u1ecf h\u00e0ng WooCommerce khi ng\u01b0\u1eddi d\u00f9ng nh\u1ea5n n\u00fat thanh to\u00e1n<\/span>\n<span class=\"line\">function add_post_to_cart() {<\/span>\n<span class=\"line\">    if (isset($_GET['post_id']) &amp;&amp; is_user_logged_in()) {<\/span>\n<span class=\"line\">        $post_id = intval($_GET['post_id']);<\/span>\n<span class=\"line\">        $price = get_post_meta($post_id, '_post_price', true);<\/span>\n        \n<span class=\"line\">        if (!empty($price) &amp;&amp; $price &gt; 0) {<\/span>\n<span class=\"line\">            \/\/ T\u1ea1o s\u1ea3n ph\u1ea9m \u1ea3o cho b\u00e0i vi\u1ebft<\/span>\n<span class=\"line\">            $product_id = create_virtual_product_for_post($post_id, $price);<\/span>\n            \n<span class=\"line\">            if ($product_id) {<\/span>\n<span class=\"line\">                \/\/ Th\u00eam s\u1ea3n ph\u1ea9m v\u00e0o gi\u1ecf h\u00e0ng<\/span>\n<span class=\"line\">                WC()-&gt;cart-&gt;add_to_cart($product_id);<\/span>\n                \n<span class=\"line\">                \/\/ Chuy\u1ec3n h\u01b0\u1edbng \u0111\u1ebfn trang thanh to\u00e1n WooCommerce<\/span>\n<span class=\"line\">                wp_redirect(wc_get_checkout_url());<\/span>\n<span class=\"line\">                exit;<\/span>\n<span class=\"line\">            }<\/span>\n<span class=\"line\">        }<\/span>\n<span class=\"line\">    }<\/span>\n<span class=\"line\">}<\/span>\n<span class=\"line\">add_action('template_redirect', 'add_post_to_cart');<\/span><\/code><\/pre>\n<\/div>\n<h2 class=\"wp-block-heading\">4. T\u1ea1o S\u1ea3n Ph\u1ea9m \u1ea2o Cho B\u00e0i Vi\u1ebft<\/h2>\n<p>M\u1ed7i b\u00e0i vi\u1ebft c\u00f3 gi\u00e1 s\u1ebd \u0111\u01b0\u1ee3c t\u1ea1o m\u1ed9t s\u1ea3n ph\u1ea9m \u1ea3o trong WooCommerce. S\u1ea3n ph\u1ea9m n\u00e0y s\u1ebd \u1ea9n kh\u1ecfi c\u1eeda h\u00e0ng nh\u01b0ng v\u1eabn c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c thanh to\u00e1n.<\/p>\n<h2 class=\"wp-block-heading\">5. Ki\u1ec3m Tra Ng\u01b0\u1eddi D\u00f9ng \u0110\u00e3 Thanh To\u00e1n Hay Ch\u01b0a Tr\u01b0\u1edbc Khi \u0110\u1ecdc B\u00e0i Vi\u1ebft<\/h2>\n<p>Cu\u1ed1i c\u00f9ng, ch\u00fang ta c\u1ea7n ki\u1ec3m tra xem ng\u01b0\u1eddi d\u00f9ng \u0111\u00e3 thanh to\u00e1n b\u00e0i vi\u1ebft ch\u01b0a. N\u1ebfu ch\u01b0a, h\u1ecd s\u1ebd ch\u1ec9 th\u1ea5y ph\u1ea7n \u0111\u1ea7u c\u1ee7a b\u00e0i vi\u1ebft v\u00e0 \u0111\u01b0\u1ee3c y\u00eau c\u1ea7u thanh to\u00e1n tr\u01b0\u1edbc khi ti\u1ebfp t\u1ee5c \u0111\u1ecdc.<\/p>\n<h2 class=\"wp-block-heading\">6. C\u1eadp Nh\u1eadt Gi\u00e1 S\u1ea3n Ph\u1ea9m \u1ea2o Khi Gi\u00e1 B\u00e0i Vi\u1ebft Thay \u0110\u1ed5i<\/h2>\n<p>Cu\u1ed1i c\u00f9ng, khi gi\u00e1 c\u1ee7a b\u00e0i vi\u1ebft thay \u0111\u1ed5i, gi\u00e1 c\u1ee7a s\u1ea3n ph\u1ea9m \u1ea3o trong WooCommerce c\u0169ng c\u1ea7n \u0111\u01b0\u1ee3c c\u1eadp nh\u1eadt.<\/p>\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers cbp-hl-loaded cbp-ff-loaded\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\">\n<pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><\/pre>\n<pre class=\"shiki nord\" tabindex=\"0\"><code><span class=\"line\">\/\/ C\u1eadp nh\u1eadt gi\u00e1 s\u1ea3n ph\u1ea9m \u1ea3o trong WooCommerce khi gi\u00e1 b\u00e0i vi\u1ebft thay \u0111\u1ed5i<\/span>\n<span class=\"line\">function update_product_price_on_post_save($post_id) {<\/span>\n<span class=\"line\">    \/\/ Ki\u1ec3m tra xem c\u00f3 ph\u1ea3i b\u00e0i vi\u1ebft kh\u00f4ng<\/span>\n<span class=\"line\">    if (get_post_type($post_id) !== 'post') {<\/span>\n<span class=\"line\">        return;<\/span>\n<span class=\"line\">    }<\/span>\n\n<span class=\"line\">    \/\/ L\u1ea5y gi\u00e1 b\u00e0i vi\u1ebft<\/span>\n<span class=\"line\">    $price = get_post_meta($post_id, '_post_price', true);<\/span>\n    \n<span class=\"line\">    if (!empty($price) &amp;&amp; $price &gt; 0) {<\/span>\n<span class=\"line\">        \/\/ Ki\u1ec3m tra s\u1ea3n ph\u1ea9m \u1ea3o li\u00ean k\u1ebft v\u1edbi b\u00e0i vi\u1ebft<\/span>\n<span class=\"line\">        $product_id = get_post_meta($post_id, '_product_id', true);<\/span>\n        \n<span class=\"line\">        if ($product_id) {<\/span>\n<span class=\"line\">            \/\/ C\u1eadp nh\u1eadt gi\u00e1 s\u1ea3n ph\u1ea9m trong WooCommerce<\/span>\n<span class=\"line\">            $product = wc_get_product($product_id);<\/span>\n<span class=\"line\">            if ($product) {<\/span>\n<span class=\"line\">                $product-&gt;set_regular_price($price);<\/span>\n<span class=\"line\">                $product-&gt;save();<\/span>\n<span class=\"line\">            }<\/span>\n<span class=\"line\">        }<\/span>\n<span class=\"line\">    }<\/span>\n<span class=\"line\">}<\/span>\n<span class=\"line\">add_action('save_post', 'update_product_price_on_post_save');<\/span><\/code><\/pre>\n<\/div>\n<h2 class=\"wp-block-heading\">K\u1ebft Lu\u1eadn<\/h2>\n<p>V\u1edbi \u0111o\u1ea1n code tr\u00ean, b\u1ea1n \u0111\u00e3 c\u00f3 th\u1ec3 t\u1ea1o m\u1ed9t h\u1ec7 th\u1ed1ng thanh to\u00e1n cho c\u00e1c b\u00e0i vi\u1ebft trong WordPress, cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng thanh to\u00e1n \u0111\u1ec3 \u0111\u1ecdc c\u00e1c b\u00e0i vi\u1ebft c\u00f3 gi\u00e1. H\u1ec7 th\u1ed1ng n\u00e0y s\u1eed d\u1ee5ng WooCommerce \u0111\u1ec3 x\u1eed l\u00fd thanh to\u00e1n v\u00e0 t\u1ea1o s\u1ea3n ph\u1ea9m \u1ea3o cho m\u1ed7i b\u00e0i vi\u1ebft c\u00f3 gi\u00e1. H\u00e3y th\u1eed ngay v\u00e0 xem k\u1ebft qu\u1ea3!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Trong b\u00e0i vi\u1ebft n\u00e0y, m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn b\u1ea1n c\u00e1ch t\u1ea1o m\u1ed9t h\u1ec7 th\u1ed1ng thanh to\u00e1n cho c\u00e1c b\u00e0i vi\u1ebft trong WordPress, gi\u00fap b\u1ea1n th\u00eam gi\u00e1 cho m\u1ed7i b\u00e0i vi\u1ebft v\u00e0 cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng thanh to\u00e1n \u0111\u1ec3 \u0111\u1ecdc b\u00e0i vi\u1ebft \u0111\u00f3. D\u01b0\u1edbi \u0111\u00e2y l\u00e0 m\u00e3 code chi ti\u1ebft \u0111\u1ec3 t\u00edch h\u1ee3p t\u00ednh n\u0103ng n\u00e0y [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1391,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,11],"tags":[39],"class_list":["post-1400","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-chia-se","category-thiet-ke-website","tag-thiet-ke-website-wordpress"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/cuongnguyen.bat.io.vn\/index.php\/wp-json\/wp\/v2\/posts\/1400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cuongnguyen.bat.io.vn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cuongnguyen.bat.io.vn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cuongnguyen.bat.io.vn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cuongnguyen.bat.io.vn\/index.php\/wp-json\/wp\/v2\/comments?post=1400"}],"version-history":[{"count":0,"href":"https:\/\/cuongnguyen.bat.io.vn\/index.php\/wp-json\/wp\/v2\/posts\/1400\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cuongnguyen.bat.io.vn\/index.php\/wp-json\/wp\/v2\/media\/1391"}],"wp:attachment":[{"href":"https:\/\/cuongnguyen.bat.io.vn\/index.php\/wp-json\/wp\/v2\/media?parent=1400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cuongnguyen.bat.io.vn\/index.php\/wp-json\/wp\/v2\/categories?post=1400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cuongnguyen.bat.io.vn\/index.php\/wp-json\/wp\/v2\/tags?post=1400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}