{"id":18553,"date":"2025-04-26T18:56:57","date_gmt":"2025-04-26T11:56:57","guid":{"rendered":"https:\/\/trungvu.net\/?p=18553"},"modified":"2025-04-26T18:57:02","modified_gmt":"2025-04-26T11:57:02","slug":"custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen","status":"publish","type":"post","link":"https:\/\/trungvu.net\/wordpress\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\/","title":{"rendered":"Custom Post Type l\u00e0 g\u00ec? H\u01b0\u1edbng d\u1eabn T\u1ea1o Custom Post Type WordPress Chi Ti\u1ebft Cho Ng\u01b0\u1eddi Kh\u00f4ng Chuy\u00ean"},"content":{"rendered":"\n<p><strong>Custom Post Type<\/strong> (CPT) l\u00e0 c\u00f4ng c\u1ee5 c\u1ef1c k\u1ef3 h\u1eefu \u00edch trong WordPress, cho ph\u00e9p b\u1ea1n t\u1ea1o ra c\u00e1c lo\u1ea1i n\u1ed9i dung t\u00f9y ch\u1ec9nh ngo\u00e0i b\u00e0i vi\u1ebft (Post) v\u00e0 trang (Page) m\u1eb7c \u0111\u1ecbnh.<br>Trong b\u00e0i vi\u1ebft n\u00e0y, m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn b\u1ea1n c\u00e1ch t\u1ea1o <strong>Custom Post Type<\/strong> nhanh ch\u00f3ng, \u0111\u01a1n gi\u1ea3n v\u00e0 d\u1ec5 hi\u1ec3u nh\u1ea5t &#8211; d\u00e0nh cho ng\u01b0\u1eddi kh\u00f4ng chuy\u00ean.<\/p>\n\n\n\n<p>\u2705 C\u1eadp nh\u1eadt m\u1edbi nh\u1ea5t 2025<br>\u2705 \u00c1p d\u1ee5ng th\u1ef1c t\u1ebf \u0111\u01b0\u1ee3c ngay<br>\u2705 C\u1ea7m tay ch\u1ec9 vi\u1ec7c t\u1eeb A-Z<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">M\u1ee5c L\u1ee5c<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Custom Post Type l\u00e0 g\u00ec?<\/li>\n\n\n\n<li>T\u1ea1i sao n\u00ean s\u1eed d\u1ee5ng Custom Post Type?<\/li>\n\n\n\n<li>C\u00e1ch t\u1ea1o Custom Post Type \u0111\u01a1n gi\u1ea3n b\u1eb1ng Plugin\n<ul class=\"wp-block-list\">\n<li>B\u01b0\u1edbc 1: C\u00e0i plugin Custom Post Type UI<\/li>\n\n\n\n<li>B\u01b0\u1edbc 2: T\u1ea1o Custom Post Type m\u1edbi<\/li>\n\n\n\n<li>B\u01b0\u1edbc 3: Ki\u1ec3m tra th\u00e0nh qu\u1ea3<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Hi\u1ec3n th\u1ecb Custom Post Type ra ngo\u00e0i website<\/li>\n\n\n\n<li>Kinh nghi\u1ec7m v\u00e0 l\u01b0u \u00fd khi t\u1ea1o Custom Post Type<\/li>\n\n\n\n<li>C\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p (FAQ)<\/li>\n\n\n\n<li>K\u1ebft lu\u1eadn<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Custom Post Type l\u00e0 g\u00ec?<\/h2>\n\n\n\n<p><strong>Custom Post Type<\/strong> l\u00e0 m\u1ed9t lo\u1ea1i n\u1ed9i dung t\u00f9y ch\u1ec9nh trong WordPress, cho ph\u00e9p b\u1ea1n qu\u1ea3n l\u00fd n\u1ed9i dung theo nh\u00f3m ri\u00eang bi\u1ec7t thay v\u00ec tr\u1ed9n l\u1eabn t\u1ea5t c\u1ea3 v\u00e0o ph\u1ea7n &#8220;B\u00e0i vi\u1ebft&#8221; th\u00f4ng th\u01b0\u1eddng.<\/p>\n\n\n\n<p>V\u00ed d\u1ee5 b\u1ea1n c\u00f3 th\u1ec3 t\u1ea1o:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Lo\u1ea1i b\u00e0i vi\u1ebft ri\u00eang cho <strong>D\u1ef1 \u00e1n<\/strong><\/li>\n\n\n\n<li>Lo\u1ea1i b\u00e0i vi\u1ebft ri\u00eang cho <strong>S\u1ea3n ph\u1ea9m<\/strong><\/li>\n\n\n\n<li>Lo\u1ea1i b\u00e0i vi\u1ebft ri\u00eang cho <strong>Kh\u00f3a h\u1ecdc<\/strong><\/li>\n\n\n\n<li>Ho\u1eb7c b\u1ea5t k\u1ef3 n\u1ed9i dung n\u00e0o b\u1ea1n mu\u1ed1n ph\u00e2n lo\u1ea1i ri\u00eang<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>T\u00f3m l\u1ea1i:<\/strong> Custom Post Type = M\u1ed9t nh\u00f3m n\u1ed9i dung ri\u00eang bi\u1ec7t tr\u00ean WordPress.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">T\u1ea1i sao n\u00ean s\u1eed d\u1ee5ng Custom Post Type?<\/h2>\n\n\n\n<p>S\u1eed d\u1ee5ng <strong>Custom Post Type<\/strong> mang l\u1ea1i nhi\u1ec1u l\u1ee3i \u00edch:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>D\u1ec5 d\u00e0ng qu\u1ea3n l\u00fd:<\/strong> Ph\u00e2n chia n\u1ed9i dung r\u00f5 r\u00e0ng, g\u1ecdn g\u00e0ng.<\/li>\n\n\n\n<li><strong>Website chuy\u00ean nghi\u1ec7p h\u01a1n:<\/strong> Ng\u01b0\u1eddi d\u00f9ng d\u1ec5 t\u00ecm ki\u1ebfm, tr\u1ea3i nghi\u1ec7m t\u1ed1t h\u01a1n.<\/li>\n\n\n\n<li><strong>T\u1ed1i \u01b0u SEO:<\/strong> M\u1ed7i lo\u1ea1i n\u1ed9i dung c\u00f3 URL, ti\u00eau \u0111\u1ec1, m\u00f4 t\u1ea3 ri\u00eang bi\u1ec7t, d\u1ec5 l\u00ean top Google h\u01a1n.<\/li>\n\n\n\n<li><strong>Ph\u00e1t tri\u1ec3n website l\u1edbn m\u1ea1nh:<\/strong> T\u1ea1o nhi\u1ec1u h\u1ec7 th\u1ed1ng d\u1eef li\u1ec7u (s\u1ea3n ph\u1ea9m, d\u1ef1 \u00e1n, testimonial&#8230;) m\u00e0 kh\u00f4ng b\u1ecb l\u1ed9n x\u1ed9n.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">C\u00e1ch t\u1ea1o Custom Post Type \u0111\u01a1n gi\u1ea3n b\u1eb1ng Plugin<\/h2>\n\n\n\n<p>N\u1ebfu b\u1ea1n kh\u00f4ng chuy\u00ean code, \u0111\u1eebng lo. WordPress c\u00f3 plugin c\u1ef1c m\u1ea1nh l\u00e0 <strong>Custom Post Type UI<\/strong>, gi\u00fap b\u1ea1n t\u1ea1o CPT ch\u1ec9 v\u1edbi v\u00e0i c\u00fa click chu\u1ed9t.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">B\u01b0\u1edbc 1: C\u00e0i plugin Custom Post Type UI<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>V\u00e0o <strong>Dashboard WordPress<\/strong> \u2192 <strong>Plugin<\/strong> \u2192 <strong>Th\u00eam m\u1edbi<\/strong>.<\/li>\n\n\n\n<li>G\u00f5 t\u00ecm <strong>Custom Post Type UI<\/strong>.<\/li>\n\n\n\n<li>C\u00e0i \u0111\u1eb7t v\u00e0 k\u00edch ho\u1ea1t (Install \u2192 Activate).<\/li>\n<\/ol>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Ghi ch\u00fa:<\/strong> Plugin n\u00e0y mi\u1ec5n ph\u00ed, h\u01a1n 1 tri\u1ec7u l\u01b0\u1ee3t t\u1ea3i v\u1ec1, c\u1ef1c k\u1ef3 uy t\u00edn.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">B\u01b0\u1edbc 2: T\u1ea1o Custom Post Type m\u1edbi<\/h3>\n\n\n\n<p>Sau khi c\u00e0i xong:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>V\u00e0o <strong>CPT UI<\/strong> \u2192 <strong>Add\/Edit Post Types<\/strong>.<\/li>\n\n\n\n<li>\u1ede tab <strong>Add New Post Type<\/strong>, \u0111i\u1ec1n c\u00e1c th\u00f4ng tin:\n<ul class=\"wp-block-list\">\n<li><strong>Post Type Slug:<\/strong><br>(vi\u1ebft th\u01b0\u1eddng, kh\u00f4ng d\u1ea5u, kh\u00f4ng c\u00e1ch)<br>V\u00ed d\u1ee5: <code>du-an<\/code>, <code>san-pham<\/code>, <code>khoa-hoc<\/code><\/li>\n\n\n\n<li><strong>Plural Label:<\/strong> (T\u00ean d\u1ea1ng s\u1ed1 nhi\u1ec1u)<br>V\u00ed d\u1ee5: <strong>D\u1ef1 \u00e1n<\/strong>, <strong>S\u1ea3n ph\u1ea9m<\/strong>, <strong>Kh\u00f3a h\u1ecdc<\/strong><\/li>\n\n\n\n<li><strong>Singular Label:<\/strong> (T\u00ean d\u1ea1ng s\u1ed1 \u00edt)<br>V\u00ed d\u1ee5: <strong>D\u1ef1 \u00e1n<\/strong>, <strong>S\u1ea3n ph\u1ea9m<\/strong>, <strong>Kh\u00f3a h\u1ecdc<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>K\u00e9o xu\u1ed1ng d\u01b0\u1edbi c\u00f9ng \u2192 Nh\u1ea5n n\u00fat <strong>Add Post Type<\/strong>.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">B\u01b0\u1edbc 3: Ki\u1ec3m tra th\u00e0nh qu\u1ea3<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Nh\u00ecn b\u00ean tay tr\u00e1i Dashboard, b\u1ea1n s\u1ebd th\u1ea5y xu\u1ea5t hi\u1ec7n m\u1ed9t m\u1ee5c m\u1edbi (v\u00ed d\u1ee5: &#8220;D\u1ef1 \u00e1n&#8221;, &#8220;S\u1ea3n ph\u1ea9m&#8221;&#8230;).<\/li>\n\n\n\n<li>B\u1ea5m v\u00e0o \u0111\u00f3 \u2192 <strong>Th\u00eam m\u1edbi<\/strong> nh\u01b0 th\u00eam b\u00e0i vi\u1ebft th\u00f4ng th\u01b0\u1eddng.<\/li>\n<\/ul>\n\n\n\n<p><strong>V\u1eady l\u00e0 b\u1ea1n \u0111\u00e3 t\u1ea1o xong Custom Post Type \u0111\u1ea7u ti\u00ean!<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Hi\u1ec3n th\u1ecb Custom Post Type ra ngo\u00e0i website<\/h2>\n\n\n\n<p>Th\u00f4ng th\u01b0\u1eddng, nhi\u1ec1u theme WordPress ho\u1eb7c builder nh\u01b0 <strong>Elementor<\/strong>, <strong>Bricks<\/strong>, <strong>Divi<\/strong> s\u1ebd t\u1ef1 \u0111\u1ed9ng nh\u1eadn di\u1ec7n CPT.<\/p>\n\n\n\n<p>N\u1ebfu kh\u00f4ng th\u1ea5y CPT hi\u1ec3n th\u1ecb:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>D\u00f9ng <strong>Elementor Pro<\/strong> \u2192 <strong>Loop Grid<\/strong> \u2192 Ch\u1ecdn Custom Post Type b\u1ea1n v\u1eeba t\u1ea1o.<\/li>\n\n\n\n<li>Ho\u1eb7c s\u1eed d\u1ee5ng c\u00e1c Widget d\u1ea1ng <strong>Post<\/strong>, <strong>Archive<\/strong> trong builder \u0111\u1ec3 k\u00e9o CPT ra ngo\u00e0i.<\/li>\n<\/ul>\n\n\n\n<p><strong>Pro Tip:<\/strong><br>N\u1ebfu b\u1ea1n bi\u1ebft ch\u00fat code, c\u00f3 th\u1ec3 t\u1ea1o th\u00eam <strong>Template CPT<\/strong> ri\u00eang b\u1eb1ng PHP \u0111\u1ec3 giao di\u1ec7n \u0111\u1eb9p h\u01a1n.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Kinh nghi\u1ec7m v\u00e0 l\u01b0u \u00fd khi t\u1ea1o Custom Post Type<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u0110\u1eb7t slug ng\u1eafn, d\u1ec5 nh\u1edb<\/strong>, kh\u00f4ng d\u1ea5u, kh\u00f4ng c\u00e1ch.<\/li>\n\n\n\n<li><strong>Ch\u1ecdn nh\u00e3n (Label)<\/strong> r\u00f5 r\u00e0ng, \u0111\u00fang ng\u00e0nh ngh\u1ec1.<\/li>\n\n\n\n<li><strong>K\u1ebft h\u1ee3p Taxonomy<\/strong> (danh m\u1ee5c, tag ri\u00eang cho CPT) \u0111\u1ec3 n\u1ed9i dung c\u00f3 t\u1ed5 ch\u1ee9c h\u01a1n.<\/li>\n\n\n\n<li><strong>T\u1ed1i \u01b0u SEO<\/strong> cho CPT: Title, URL, meta description chu\u1ea9n ch\u1ec9nh.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">C\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p (FAQ)<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. T\u1ea1o Custom Post Type c\u00f3 \u1ea3nh h\u01b0\u1edfng website kh\u00f4ng?<\/h3>\n\n\n\n<p>Kh\u00f4ng. CPT ch\u1ec9 l\u00e0 nh\u00f3m n\u1ed9i dung m\u1edbi, ho\u00e0n to\u00e0n kh\u00f4ng \u1ea3nh h\u01b0\u1edfng t\u1edbi b\u00e0i vi\u1ebft c\u0169 hay t\u1ed1c \u0111\u1ed9 website n\u1ebfu l\u00e0m \u0111\u00fang c\u00e1ch.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. N\u1ebfu x\u00f3a plugin CPT UI th\u00ec sao?<\/h3>\n\n\n\n<p>N\u1ebfu b\u1ea1n x\u00f3a <strong>Custom Post Type UI<\/strong> m\u00e0 kh\u00f4ng backup CPT b\u1eb1ng code, th\u00ec c\u00e1c CPT s\u1ebd &#8220;bi\u1ebfn m\u1ea5t&#8221; tr\u00ean giao di\u1ec7n (nh\u01b0ng d\u1eef li\u1ec7u trong database v\u1eabn c\u00f2n).<\/p>\n\n\n\n<p><strong>Gi\u1ea3i ph\u00e1p:<\/strong> N\u1ebfu website l\u1edbn, n\u00ean d\u00f9ng code ho\u1eb7c backup CPT.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. C\u00f3 th\u1ec3 t\u1ea1o Custom Post Type b\u1eb1ng code kh\u00f4ng?<\/h3>\n\n\n\n<p>C\u00f3, v\u00e0 c\u00f2n nh\u1eb9 website h\u01a1n. Nh\u01b0ng n\u1ebfu b\u1ea1n l\u00e0 ng\u01b0\u1eddi m\u1edbi, m\u00ecnh khuy\u00ean n\u00ean d\u00f9ng plugin tr\u01b0\u1edbc.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">K\u1ebft lu\u1eadn<\/h2>\n\n\n\n<p><strong>Custom Post Type<\/strong> l\u00e0 ch\u00eca kh\u00f3a gi\u00fap website WordPress c\u1ee7a b\u1ea1n <strong>chuy\u00ean nghi\u1ec7p h\u01a1n, d\u1ec5 SEO h\u01a1n<\/strong> v\u00e0 <strong>qu\u1ea3n l\u00fd n\u1ed9i dung t\u1ed1t h\u01a1n<\/strong>.<\/p>\n\n\n\n<p>Ch\u1ec9 c\u1ea7n v\u00e0i b\u01b0\u1edbc \u0111\u01a1n gi\u1ea3n v\u1edbi plugin <strong>Custom Post Type UI<\/strong>, b\u1ea1n c\u00f3 th\u1ec3 t\u1ef1 tay:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>T\u1ea1o Portfolio<\/li>\n\n\n\n<li>T\u1ea1o trang D\u1ef1 \u00e1n<\/li>\n\n\n\n<li>T\u1ea1o th\u01b0 vi\u1ec7n s\u1ea3n ph\u1ea9m<\/li>\n\n\n\n<li>V\u00e0 nhi\u1ec1u h\u01a1n th\u1ebf n\u1eefa!<\/li>\n<\/ul>\n\n\n\n<p>\ud83d\udc49 \u0110\u1eebng ng\u1ea7n ng\u1ea1i th\u1eed ngay h\u00f4m nay \u0111\u1ec3 website c\u1ee7a b\u1ea1n &#8220;l\u1ed9t x\u00e1c&#8221; nh\u00e9!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Custom Post Type (CPT) l\u00e0 c\u00f4ng c\u1ee5 c\u1ef1c k\u1ef3 h\u1eefu \u00edch trong WordPress, cho ph\u00e9p b\u1ea1n t\u1ea1o ra c\u00e1c lo\u1ea1i n\u1ed9i dung t\u00f9y ch\u1ec9nh ngo\u00e0i b\u00e0i vi\u1ebft (Post) v\u00e0 trang (Page) m\u1eb7c \u0111\u1ecbnh.<\/p>\n","protected":false},"author":1,"featured_media":18554,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1949],"tags":[1968,1966,1837,1967],"class_list":["post-18553","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-huong-dan-wordpress","tag-cho-nguoi-khong-chuyen","tag-custom-post-type","tag-huong-dan-chi-tiet","tag-huong-dan-tao"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Custom Post Type l\u00e0 g\u00ec? H\u01b0\u1edbng d\u1eabn T\u1ea1o Custom Post Type WordP - Trungvu.net<\/title>\n<meta name=\"description\" content=\"Custom Post Type (CPT) l\u00e0 c\u00f4ng c\u1ee5 c\u1ef1c k\u1ef3 h\u1eefu \u00edch trong WordPress, cho ph\u00e9p b\u1ea1n t\u1ea1o ra c\u00e1c lo\u1ea1i n\u1ed9i dung t\u00f9y ch\u1ec9nh ngo\u00e0i b\u00e0i vi\u1ebft (Post) v\u00e0\" class=\"yoast-seo-meta-tag\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/trungvu.net\/wordpress\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\/\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:locale\" content=\"vi_VN\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:type\" content=\"article\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:title\" content=\"Custom Post Type l\u00e0 g\u00ec? H\u01b0\u1edbng d\u1eabn T\u1ea1o Custom Post Type WordP - Trungvu.net\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:description\" content=\"Custom Post Type (CPT) l\u00e0 c\u00f4ng c\u1ee5 c\u1ef1c k\u1ef3 h\u1eefu \u00edch trong WordPress, cho ph\u00e9p b\u1ea1n t\u1ea1o ra c\u00e1c lo\u1ea1i n\u1ed9i dung t\u00f9y ch\u1ec9nh ngo\u00e0i b\u00e0i vi\u1ebft (Post) v\u00e0\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:url\" content=\"https:\/\/trungvu.net\/wordpress\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\/\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:site_name\" content=\"Trungvu.net\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-26T11:56:57+00:00\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-26T11:57:02+00:00\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:image\" content=\"https:\/\/trungvu.net\/wordpress\/wp-content\/uploads\/2025\/04\/1-37.png\" class=\"yoast-seo-meta-tag\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" class=\"yoast-seo-meta-tag\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" class=\"yoast-seo-meta-tag\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" class=\"yoast-seo-meta-tag\" \/>\n<meta name=\"author\" content=\"admin\" class=\"yoast-seo-meta-tag\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" class=\"yoast-seo-meta-tag\" \/>\n<meta name=\"twitter:label1\" content=\"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi\" class=\"yoast-seo-meta-tag\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" class=\"yoast-seo-meta-tag\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc\" class=\"yoast-seo-meta-tag\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 ph\u00fat\" class=\"yoast-seo-meta-tag\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/#\\\/schema\\\/person\\\/43717670d36893b8e8a79e22d50382cf\"},\"headline\":\"Custom Post Type l\u00e0 g\u00ec? H\u01b0\u1edbng d\u1eabn T\u1ea1o Custom Post Type WordPress Chi Ti\u1ebft Cho Ng\u01b0\u1eddi Kh\u00f4ng Chuy\u00ean\",\"datePublished\":\"2025-04-26T11:56:57+00:00\",\"dateModified\":\"2025-04-26T11:57:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\\\/\"},\"wordCount\":1267,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/#\\\/schema\\\/person\\\/43717670d36893b8e8a79e22d50382cf\"},\"image\":{\"@id\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/1-37.png\",\"keywords\":[\"Cho Ng\u01b0\u1eddi Kh\u00f4ng Chuy\u00ean\",\"Custom Post Type\",\"H\u01b0\u1edbng D\u1eabn Chi Ti\u1ebft\",\"H\u01b0\u1edbng d\u1eabn T\u1ea1o\"],\"articleSection\":[\"H\u01b0\u1edbng d\u1eabn Wordpress\"],\"inLanguage\":\"vi\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\\\/\",\"url\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\\\/\",\"name\":\"Custom Post Type l\u00e0 g\u00ec? H\u01b0\u1edbng d\u1eabn T\u1ea1o Custom Post Type WordP - Trungvu.net\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/1-37.png\",\"datePublished\":\"2025-04-26T11:56:57+00:00\",\"dateModified\":\"2025-04-26T11:57:02+00:00\",\"description\":\"Custom Post Type (CPT) l\u00e0 c\u00f4ng c\u1ee5 c\u1ef1c k\u1ef3 h\u1eefu \u00edch trong WordPress, cho ph\u00e9p b\u1ea1n t\u1ea1o ra c\u00e1c lo\u1ea1i n\u1ed9i dung t\u00f9y ch\u1ec9nh ngo\u00e0i b\u00e0i vi\u1ebft (Post) v\u00e0\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\\\/#breadcrumb\"},\"inLanguage\":\"vi\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\\\/#primaryimage\",\"url\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/1-37.png\",\"contentUrl\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/1-37.png\",\"width\":1024,\"height\":1024,\"caption\":\"Custom Post Type l\u00e0 g\u00ec? H\u01b0\u1edbng d\u1eabn T\u1ea1o Custom Post Type WordPress Chi Ti\u1ebft Cho Ng\u01b0\u1eddi Kh\u00f4ng Chuy\u00ean\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Trang ch\u1ee7\",\"item\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Custom Post Type l\u00e0 g\u00ec? H\u01b0\u1edbng d\u1eabn T\u1ea1o Custom Post Type WordPress Chi Ti\u1ebft Cho Ng\u01b0\u1eddi Kh\u00f4ng Chuy\u00ean\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/\",\"name\":\"TVN\",\"description\":\"N\u1ec1n t\u1ea3ng c\u00f4ng ngh\u1ec7, d\u1ecbch v\u1ee5 s\u1ed1 v\u00e0 h\u1ec7 sinh th\u00e1i Trung Global\",\"publisher\":{\"@id\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/#\\\/schema\\\/person\\\/43717670d36893b8e8a79e22d50382cf\"},\"alternateName\":\"Trungvu.net\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"vi\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/#\\\/schema\\\/person\\\/43717670d36893b8e8a79e22d50382cf\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/trungvu.net\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/cropped-800x480-1.jpg\",\"url\":\"https:\\\/\\\/trungvu.net\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/cropped-800x480-1.jpg\",\"contentUrl\":\"https:\\\/\\\/trungvu.net\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/cropped-800x480-1.jpg\",\"width\":512,\"height\":512,\"caption\":\"admin\"},\"logo\":{\"@id\":\"https:\\\/\\\/trungvu.net\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/cropped-800x480-1.jpg\"},\"sameAs\":[\"https:\\\/\\\/trungvu.net\"],\"url\":\"https:\\\/\\\/trungvu.net\\\/wordpress\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Custom Post Type l\u00e0 g\u00ec? H\u01b0\u1edbng d\u1eabn T\u1ea1o Custom Post Type WordP - Trungvu.net","description":"Custom Post Type (CPT) l\u00e0 c\u00f4ng c\u1ee5 c\u1ef1c k\u1ef3 h\u1eefu \u00edch trong WordPress, cho ph\u00e9p b\u1ea1n t\u1ea1o ra c\u00e1c lo\u1ea1i n\u1ed9i dung t\u00f9y ch\u1ec9nh ngo\u00e0i b\u00e0i vi\u1ebft (Post) v\u00e0","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/trungvu.net\/wordpress\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\/","og_locale":"vi_VN","og_type":"article","og_title":"Custom Post Type l\u00e0 g\u00ec? H\u01b0\u1edbng d\u1eabn T\u1ea1o Custom Post Type WordP - Trungvu.net","og_description":"Custom Post Type (CPT) l\u00e0 c\u00f4ng c\u1ee5 c\u1ef1c k\u1ef3 h\u1eefu \u00edch trong WordPress, cho ph\u00e9p b\u1ea1n t\u1ea1o ra c\u00e1c lo\u1ea1i n\u1ed9i dung t\u00f9y ch\u1ec9nh ngo\u00e0i b\u00e0i vi\u1ebft (Post) v\u00e0","og_url":"https:\/\/trungvu.net\/wordpress\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\/","og_site_name":"Trungvu.net","article_published_time":"2025-04-26T11:56:57+00:00","article_modified_time":"2025-04-26T11:57:02+00:00","og_image":[{"width":1024,"height":1024,"url":"https:\/\/trungvu.net\/wordpress\/wp-content\/uploads\/2025\/04\/1-37.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi":"admin","\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc":"5 ph\u00fat"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/trungvu.net\/wordpress\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\/#article","isPartOf":{"@id":"https:\/\/trungvu.net\/wordpress\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\/"},"author":{"name":"admin","@id":"https:\/\/trungvu.net\/wordpress\/#\/schema\/person\/43717670d36893b8e8a79e22d50382cf"},"headline":"Custom Post Type l\u00e0 g\u00ec? H\u01b0\u1edbng d\u1eabn T\u1ea1o Custom Post Type WordPress Chi Ti\u1ebft Cho Ng\u01b0\u1eddi Kh\u00f4ng Chuy\u00ean","datePublished":"2025-04-26T11:56:57+00:00","dateModified":"2025-04-26T11:57:02+00:00","mainEntityOfPage":{"@id":"https:\/\/trungvu.net\/wordpress\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\/"},"wordCount":1267,"commentCount":0,"publisher":{"@id":"https:\/\/trungvu.net\/wordpress\/#\/schema\/person\/43717670d36893b8e8a79e22d50382cf"},"image":{"@id":"https:\/\/trungvu.net\/wordpress\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\/#primaryimage"},"thumbnailUrl":"https:\/\/trungvu.net\/wordpress\/wp-content\/uploads\/2025\/04\/1-37.png","keywords":["Cho Ng\u01b0\u1eddi Kh\u00f4ng Chuy\u00ean","Custom Post Type","H\u01b0\u1edbng D\u1eabn Chi Ti\u1ebft","H\u01b0\u1edbng d\u1eabn T\u1ea1o"],"articleSection":["H\u01b0\u1edbng d\u1eabn Wordpress"],"inLanguage":"vi","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/trungvu.net\/wordpress\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/trungvu.net\/wordpress\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\/","url":"https:\/\/trungvu.net\/wordpress\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\/","name":"Custom Post Type l\u00e0 g\u00ec? H\u01b0\u1edbng d\u1eabn T\u1ea1o Custom Post Type WordP - Trungvu.net","isPartOf":{"@id":"https:\/\/trungvu.net\/wordpress\/#website"},"primaryImageOfPage":{"@id":"https:\/\/trungvu.net\/wordpress\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\/#primaryimage"},"image":{"@id":"https:\/\/trungvu.net\/wordpress\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\/#primaryimage"},"thumbnailUrl":"https:\/\/trungvu.net\/wordpress\/wp-content\/uploads\/2025\/04\/1-37.png","datePublished":"2025-04-26T11:56:57+00:00","dateModified":"2025-04-26T11:57:02+00:00","description":"Custom Post Type (CPT) l\u00e0 c\u00f4ng c\u1ee5 c\u1ef1c k\u1ef3 h\u1eefu \u00edch trong WordPress, cho ph\u00e9p b\u1ea1n t\u1ea1o ra c\u00e1c lo\u1ea1i n\u1ed9i dung t\u00f9y ch\u1ec9nh ngo\u00e0i b\u00e0i vi\u1ebft (Post) v\u00e0","breadcrumb":{"@id":"https:\/\/trungvu.net\/wordpress\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\/#breadcrumb"},"inLanguage":"vi","potentialAction":[{"@type":"ReadAction","target":["https:\/\/trungvu.net\/wordpress\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\/"]}]},{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/trungvu.net\/wordpress\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\/#primaryimage","url":"https:\/\/trungvu.net\/wordpress\/wp-content\/uploads\/2025\/04\/1-37.png","contentUrl":"https:\/\/trungvu.net\/wordpress\/wp-content\/uploads\/2025\/04\/1-37.png","width":1024,"height":1024,"caption":"Custom Post Type l\u00e0 g\u00ec? H\u01b0\u1edbng d\u1eabn T\u1ea1o Custom Post Type WordPress Chi Ti\u1ebft Cho Ng\u01b0\u1eddi Kh\u00f4ng Chuy\u00ean"},{"@type":"BreadcrumbList","@id":"https:\/\/trungvu.net\/wordpress\/custom-post-type-la-gi-huong-dan-tao-custom-post-type-wordpress-chi-tiet-cho-nguoi-khong-chuyen\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Trang ch\u1ee7","item":"https:\/\/trungvu.net\/wordpress\/"},{"@type":"ListItem","position":2,"name":"Custom Post Type l\u00e0 g\u00ec? H\u01b0\u1edbng d\u1eabn T\u1ea1o Custom Post Type WordPress Chi Ti\u1ebft Cho Ng\u01b0\u1eddi Kh\u00f4ng Chuy\u00ean"}]},{"@type":"WebSite","@id":"https:\/\/trungvu.net\/wordpress\/#website","url":"https:\/\/trungvu.net\/wordpress\/","name":"TVN","description":"N\u1ec1n t\u1ea3ng c\u00f4ng ngh\u1ec7, d\u1ecbch v\u1ee5 s\u1ed1 v\u00e0 h\u1ec7 sinh th\u00e1i Trung Global","publisher":{"@id":"https:\/\/trungvu.net\/wordpress\/#\/schema\/person\/43717670d36893b8e8a79e22d50382cf"},"alternateName":"Trungvu.net","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/trungvu.net\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"vi"},{"@type":["Person","Organization"],"@id":"https:\/\/trungvu.net\/wordpress\/#\/schema\/person\/43717670d36893b8e8a79e22d50382cf","name":"admin","image":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/trungvu.net\/wp-content\/uploads\/2024\/10\/cropped-800x480-1.jpg","url":"https:\/\/trungvu.net\/wp-content\/uploads\/2024\/10\/cropped-800x480-1.jpg","contentUrl":"https:\/\/trungvu.net\/wp-content\/uploads\/2024\/10\/cropped-800x480-1.jpg","width":512,"height":512,"caption":"admin"},"logo":{"@id":"https:\/\/trungvu.net\/wp-content\/uploads\/2024\/10\/cropped-800x480-1.jpg"},"sameAs":["https:\/\/trungvu.net"],"url":"https:\/\/trungvu.net\/wordpress\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/trungvu.net\/wordpress\/wp-json\/wp\/v2\/posts\/18553","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/trungvu.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/trungvu.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/trungvu.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/trungvu.net\/wordpress\/wp-json\/wp\/v2\/comments?post=18553"}],"version-history":[{"count":1,"href":"https:\/\/trungvu.net\/wordpress\/wp-json\/wp\/v2\/posts\/18553\/revisions"}],"predecessor-version":[{"id":18555,"href":"https:\/\/trungvu.net\/wordpress\/wp-json\/wp\/v2\/posts\/18553\/revisions\/18555"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/trungvu.net\/wordpress\/wp-json\/wp\/v2\/media\/18554"}],"wp:attachment":[{"href":"https:\/\/trungvu.net\/wordpress\/wp-json\/wp\/v2\/media?parent=18553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/trungvu.net\/wordpress\/wp-json\/wp\/v2\/categories?post=18553"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/trungvu.net\/wordpress\/wp-json\/wp\/v2\/tags?post=18553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}