{"id":2141,"date":"2019-09-02T10:47:17","date_gmt":"2019-09-02T10:47:17","guid":{"rendered":"http:\/\/notificationx.com\/?post_type=docs&#038;p=2141"},"modified":"2022-10-10T03:05:53","modified_gmt":"2022-10-10T03:05:53","password":"","slug":"shortcode","status":"publish","type":"docs","link":"https:\/\/notificationx.com\/vi\/docs\/shortcode\/","title":{"rendered":"L\u00e0m c\u00e1ch n\u00e0o \u0111\u1ec3 hi\u1ec3n th\u1ecb c\u1ea3nh b\u00e1o th\u00f4ng b\u00e1o trong WordPress b\u1eb1ng Shortcode?"},"content":{"rendered":"<p><a href=\"http:\/\/notificationx.com\/vi\/\" target=\"_blank\" rel=\"noopener\"><b>CHUY\u00caN NGHI\u1ec6P NotificationX<\/b><\/a> <span style=\"font-weight: 400\">cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng c\u1ee7a n\u00f3 hi\u1ec3n th\u1ecb th\u00f4ng b\u00e1o c\u1ee7a h\u1ecd \u1edf b\u1ea5t c\u1ee9 \u0111\u00e2u h\u1ecd mu\u1ed1n b\u1eb1ng c\u00e1ch s\u1eed d\u1ee5ng <\/span><b>M\u00e3 ng\u1eafn<\/b><span style=\"font-weight: 400\">. Gi\u1edd \u0111\u00e2y, b\u1ea1n c\u00f3 th\u1ec3 hi\u1ec3n th\u1ecb th\u00f4ng b\u00e1o b\u1eadt l\u00ean trong c\u00e1c b\u00e0i \u0111\u0103ng, trang WordPress c\u1ee7a m\u00ecnh ho\u1eb7c b\u1ea5t c\u1ee9 n\u01a1i n\u00e0o b\u1ea1n mu\u1ed1n. Kh\u00f4ng c\u00f3 r\u00e0ng bu\u1ed9c n\u1eefa! H\u00e3y l\u00e0m theo h\u01b0\u1edbng d\u1eabn b\u00ean d\u01b0\u1edbi \u0111\u1ec3 hi\u1ec3n th\u1ecb C\u1ea3nh b\u00e1o th\u00f4ng b\u00e1o b\u1eb1ng Shortcode:<\/span><\/p>\n<p><iframe title=\"How To Display Notification Alerts In WordPress Using Shortcode?\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/BE66lWOeCJw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen loading=\"lazy\"><\/iframe><\/p>\n<h2><b>C\u00e1ch s\u1eed d\u1ee5ng Shortcode trong NotificationX:<\/b><\/h2>\n<h3><b>B\u01b0\u1edbc 1 - Sao ch\u00e9p Shortcode<\/b><\/h3>\n<p><span style=\"font-weight: 400\">Tr\u01b0\u1edbc khi b\u1ea1n b\u1eaft \u0111\u1ea7u, h\u00e3y ch\u1eafc ch\u1eafn r\u1eb1ng b\u1ea1n c\u00f3<\/span><a href=\"http:\/\/notificationx.com\/vi\/docs-category\/getting-started\/\" target=\"_blank\" rel=\"noopener\"> <b>\u0111\u01b0\u1ee3c c\u1ea5u h\u00ecnh NotificationX tr\u00ean trang web WordPress c\u1ee7a b\u1ea1n<\/b><\/a><span style=\"font-weight: 400\"> v\u00e0 t\u1ea1o \u00edt nh\u1ea5t m\u1ed9t th\u00f4ng b\u00e1o. B\u00e2y gi\u1edd, t\u1eeb b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n NotificationX (<\/span><b>wp-admin \u2192 NotificationX \u2192 T\u1ea5t c\u1ea3 NotificationX<\/b><span style=\"font-weight: 400\">), b\u1ea1n s\u1ebd th\u1ea5y danh s\u00e1ch c\u00e1c th\u00f4ng b\u00e1o c\u1ee7a b\u1ea1n. T\u1eeb b\u00ean d\u01b0\u1edbi ti\u00eau \u0111\u1ec1 c\u1ee7a m\u1ed7i th\u00f4ng b\u00e1o, ch\u1ec9 c\u1ea7n nh\u1ea5p v\u00e0o <\/span><b>M\u00e3 ng\u1eafn<\/b><span style=\"font-weight: 400\"> t\u00f9y ch\u1ecdn \u1edf \u0111\u00e2y v\u00e0 shortcode c\u1ee7a th\u00f4ng b\u00e1o c\u00e1 nh\u00e2n \u0111\u00f3 s\u1ebd \u0111\u01b0\u1ee3c sao ch\u00e9p v\u00e0o clipboard c\u1ee7a b\u1ea1n.<img title=\"L\u00e0m th\u1ebf n\u00e0o \u0111\u1ec3 hi\u1ec3n th\u1ecb c\u1ea3nh b\u00e1o th\u00f4ng b\u00e1o trong WordPress b\u1eb1ng c\u00e1ch s\u1eed d\u1ee5ng m\u00e3 ng\u1eafn? 1\" fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-6471\" src=\"https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/1-6.png\" alt=\"m\u00e3 ng\u1eafn\" width=\"1863\" height=\"814\" srcset=\"https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/1-6.png 1863w, https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/1-6-300x131.png 300w, https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/1-6-1024x447.png 1024w, https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/1-6-768x336.png 768w, https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/1-6-1536x671.png 1536w, https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/1-6-18x8.png 18w\" sizes=\"(max-width: 1863px) 100vw, 1863px\"  loading=\"eager\"\/><\/span><\/p>\n<h3><b>B\u01b0\u1edbc 2 - D\u00e1n Shortcode<\/b><\/h3>\n<p><span style=\"font-weight: 400\">B\u00e2y gi\u1edd, \u0111i \u0111\u1ebfn trang ho\u1eb7c b\u00e0i \u0111\u0103ng mong mu\u1ed1n c\u1ee7a b\u1ea1n, n\u01a1i b\u1ea1n mu\u1ed1n hi\u1ec3n th\u1ecb c\u1ea3nh b\u00e1o th\u00f4ng b\u00e1o FOMO v\u00e0 ch\u1ec9 c\u1ea7n d\u00e1n m\u00e3 ng\u1eafn. Sau \u0111\u00f3 c\u1eadp nh\u1eadt n\u00f3 v\u00e0 b\u1ea1n s\u1ebd ho\u00e0n t\u1ea5t!<img title=\"L\u00e0m th\u1ebf n\u00e0o \u0111\u1ec3 hi\u1ec3n th\u1ecb c\u1ea3nh b\u00e1o th\u00f4ng b\u00e1o trong WordPress b\u1eb1ng c\u00e1ch s\u1eed d\u1ee5ng m\u00e3 ng\u1eafn? 2\" decoding=\"async\" class=\"aligncenter size-full wp-image-6472\" src=\"https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/2-4.png\" alt=\"m\u00e3 ng\u1eafn\" width=\"1920\" height=\"862\" srcset=\"https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/2-4.png 1920w, https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/2-4-300x135.png 300w, https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/2-4-1024x460.png 1024w, https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/2-4-768x345.png 768w, https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/2-4-1536x690.png 1536w, https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/2-4-18x8.png 18w\" sizes=\"(max-width: 1920px) 100vw, 1920px\"  loading=\"eager\"\/><\/span><\/p>\n<p><span style=\"font-weight: 400\">Sau khi b\u1ea1n ho\u00e0n th\u00e0nh b\u01b0\u1edbc tr\u01b0\u1edbc, b\u1ea1n s\u1ebd th\u1ea5y c\u1ea3nh b\u00e1o th\u00f4ng b\u00e1o nh\u01b0 th\u1ebf n\u00e0y:<img title=\"L\u00e0m th\u1ebf n\u00e0o \u0111\u1ec3 hi\u1ec3n th\u1ecb c\u1ea3nh b\u00e1o th\u00f4ng b\u00e1o trong WordPress b\u1eb1ng c\u00e1ch s\u1eed d\u1ee5ng m\u00e3 ng\u1eafn? 3\" decoding=\"async\" class=\"aligncenter size-full wp-image-6473\" src=\"https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/screely-1626175077363.png\" alt=\"m\u00e3 ng\u1eafn\" width=\"1849\" height=\"742\" srcset=\"https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/screely-1626175077363.png 1849w, https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/screely-1626175077363-300x120.png 300w, https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/screely-1626175077363-1024x411.png 1024w, https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/screely-1626175077363-768x308.png 768w, https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/screely-1626175077363-1536x616.png 1536w, https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/screely-1626175077363-18x7.png 18w\" sizes=\"(max-width: 1849px) 100vw, 1849px\"  loading=\"lazy\"\/><\/span><\/p>\n<h2><b>Ch\u1ec9 s\u1eed d\u1ee5ng Th\u00f4ng b\u00e1o th\u00f4ng b\u00e1o d\u01b0\u1edbi d\u1ea1ng Shortcode:<\/b><\/h2>\n<p><span style=\"font-weight: 400\">B\u1ea1n c\u00f3 quy\u1ec1n ki\u1ec3m so\u00e1t \u0111\u1ec3 ch\u1ec9 hi\u1ec3n th\u1ecb c\u1eeda s\u1ed5 b\u1eadt l\u00ean th\u00f4ng b\u00e1o b\u1eb1ng c\u00e1ch s\u1eed d\u1ee5ng Shortcode v\u00e0 \u1ea9n c\u1ea3nh b\u00e1o th\u00f4ng b\u00e1o m\u1eb7c \u0111\u1ecbnh. N\u1ebfu b\u1ea1n \u0111ang t\u1ea1o m\u1ed9t th\u00f4ng b\u00e1o m\u1edbi th\u00ec h\u00e3y \u0111\u1ea3m b\u1ea3o r\u1eb1ng b\u1ea1n \u0111\u00e3 ho\u00e0n th\u00e0nh c\u00e1c b\u01b0\u1edbc tr\u01b0\u1edbc \u0111\u00f3 l\u00e0 &#039;Ngu\u1ed3n&#039;, &#039;Thi\u1ebft k\u1ebf&#039;, &#039;N\u1ed9i dung&#039;. Sau \u0111\u00f3, \u0111\u1ebfn tab &#039;Hi\u1ec3n th\u1ecb&#039;. M\u1eb7t kh\u00e1c, n\u1ebfu b\u1ea1n \u0111\u00e3 c\u00f3 th\u00f4ng b\u00e1o \u0111\u01b0\u1ee3c t\u1ea1o th\u00ec h\u00e3y v\u00e0o b\u00ean trong th\u00f4ng b\u00e1o c\u1ee5 th\u1ec3 c\u1ee7a b\u1ea1n t\u1eeb b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n NotificationX v\u00e0 \u0111i\u1ec1u h\u01b0\u1edbng \u0111\u1ebfn<\/span><b> &#039;Tr\u01b0ng b\u00e0y&#039; <\/b><span style=\"font-weight: 400\">Trang tab. T\u1eeb <\/span><b>&#039;Hi\u1ec3n th\u1ecb&#039; <\/b><span style=\"font-weight: 400\">ph\u1ea7n, nh\u1ea5p v\u00e0o menu th\u1ea3 xu\u1ed1ng c\u1ee7a <\/span><b>&#039;Hi\u1ec3n th\u1ecb&#039;<\/b><span style=\"font-weight: 400\"> v\u00e0 ch\u1ecdn t\u00f9y ch\u1ecdn <\/span><b>&#039;Ch\u1ec9 s\u1eed d\u1ee5ng d\u01b0\u1edbi d\u1ea1ng Shortcode&#039;<\/b><span style=\"font-weight: 400\">. Sau \u0111\u00f3, nh\u1ea5p v\u00e0o n\u00fat &#039;C\u1eadp nh\u1eadt&#039;.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Sau \u0111\u00f3, b\u1ea1n s\u1ebd kh\u00f4ng th\u1ea5y c\u1eeda s\u1ed5 b\u1eadt l\u00ean th\u00f4ng b\u00e1o m\u1eb7c \u0111\u1ecbnh. N\u00f3 s\u1ebd ch\u1ec9 \u0111\u01b0\u1ee3c hi\u1ec3n th\u1ecb \u1edf n\u01a1i b\u1ea1n \u0111\u00e3 \u0111\u1eb7t shortcode c\u1ee7a m\u00ecnh.<\/span><\/p>\n<p><span style=\"font-weight: 400\"><img title=\"L\u00e0m th\u1ebf n\u00e0o \u0111\u1ec3 hi\u1ec3n th\u1ecb c\u1ea3nh b\u00e1o th\u00f4ng b\u00e1o trong WordPress b\u1eb1ng c\u00e1ch s\u1eed d\u1ee5ng m\u00e3 ng\u1eafn? 4\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6474\" src=\"https:\/\/notificationx.com\/wp-content\/uploads\/2019\/09\/4-1.gif\" alt=\"m\u00e3 ng\u1eafn\" width=\"1600\" height=\"692\" \/><\/span><\/p>\n<p><span style=\"font-weight: 400\">\u0110\u00e2y l\u00e0 c\u00e1ch b\u1ea1n c\u00f3 th\u1ec3 d\u1ec5 d\u00e0ng s\u1eed d\u1ee5ng t\u00ednh n\u0103ng m\u00e3 ng\u1eafn \u0111\u1ec3 th\u00eam c\u00e1c c\u1ea3nh b\u00e1o th\u00f4ng b\u00e1o tuy\u1ec7t v\u1eddi v\u00e0 hi\u1ec3n th\u1ecb ch\u00fang \u1edf b\u1ea5t k\u1ef3 \u0111\u00e2u tr\u00ean trang web WordPress c\u1ee7a b\u1ea1n m\u00e0 kh\u00f4ng g\u1eb7p b\u1ea5t k\u1ef3 r\u1eafc r\u1ed1i n\u00e0o.<\/span><\/p>\n<p><span style=\"font-weight: 400\">N\u1ebfu b\u1ea1n g\u1eb7p ph\u1ea3i b\u1ea5t k\u1ef3 v\u1ea5n \u0111\u1ec1 n\u00e0o, b\u1ea1n c\u00f3 th\u1ec3 li\u00ean h\u1ec7 v\u1edbi Nh\u00f3m h\u1ed7 tr\u1ee3 c\u1ee7a ch\u00fang t\u00f4i<\/span><strong><a href=\"https:\/\/wpdeveloper.net\/support\/\" target=\"_blank\" rel=\"nofollow noopener\"> \u0111\u00e2y<\/a><\/strong><span style=\"font-weight: 400\">.<\/span><\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>NotificationX PRO allows its users to display their notifications anywhere they want by using Shortcode. You can now display your popup notification in your WordPress posts, pages, or wherever you wish. There is no binding anymore! Let&#8217;s follow the below guideline to display Notification Alerts using Shortcode: How to Use Shortcode in NotificationX: Step 1 [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"template":"","meta":{"_eb_attr":"","inline_featured_image":false,"_eb_data_table":"","_templately_pack_id":"","_templately_imported_at":"","_templately_source":"","_templately_import_session_id":"","_thinkrank_schema_form_data":"{\"video_name\":\"How To Display Notification Alerts In WordPress Using Shortcode?\",\"video_description\":\"NotificationX PRO users can apply Shortcode to display their notifications wherever they choose. You can now include your popup notice in WordPress posts, pa...\",\"video_embed_url\":\"https:\\\/\\\/www.youtube.com\\\/embed\\\/BE66lWOeCJw\",\"video_duration\":\"PT1M31S\",\"video_upload_date\":\"2022-10-07\",\"video_thumbnail\":\"https:\\\/\\\/notificationx.com\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/maxresdefault.jpg\"}","_thinkrank_selected_schema_type":"VideoObject","_thinkrank_additional_schemas":"","_thinkrank_schema_disabled":"","_thinkrank_canonical_url":"","_thinkrank_og_title":"","_thinkrank_og_description":"","_thinkrank_og_image":"","_thinkrank_twitter_title":"","_thinkrank_twitter_description":"","_thinkrank_twitter_image":"","_thinkrank_imported_from":"rankmath","_thinkrank_focus_keywords":["shortcode","notification alert","FOMO notification"],"_thinkrank_focus_keyword":"shortcode","_thinkrank_robots_meta_enabled":0,"_thinkrank_robots_meta":"","_thinkrank_advanced_robots_meta":"","_thinkrank_exclude_from_search":0,"_thinkrank_exclude_from_archives":0,"_thinkrank_primary_category":0,"_analytify_skip_tracking":false,"_xspeed_no_cache":false,"_xspeed_expiry_hours":0,"_xspeed_lcp_image":"","footnotes":""},"doc_category":[154],"doc_tag":[160,155,156,200,157,173],"class_list":["post-2141","docs","type-docs","status-publish","hentry","doc_category-configurations","doc_tag-fomo","doc_tag-fomo-notification","doc_tag-notificationx","doc_tag-shortcode","doc_tag-social-proof","doc_tag-wordpress"],"year_month":"2026-12","word_count":351,"total_views":"66524","reactions":{"happy":"32","normal":"9","sad":"7"},"author_info":{"name":"Shamser Suzon","author_nicename":"suzon","author_url":"https:\/\/notificationx.com\/vi\/author\/suzon\/"},"doc_category_info":[{"term_name":"Configurations","term_url":"https:\/\/notificationx.com\/vi\/docs-category\/configurations\/"}],"doc_tag_info":[{"term_name":"FOMO","term_url":"https:\/\/notificationx.com\/vi\/docs-tag\/fomo\/"},{"term_name":"FOMO Notification","term_url":"https:\/\/notificationx.com\/vi\/docs-tag\/fomo-notification\/"},{"term_name":"NotificationX","term_url":"https:\/\/notificationx.com\/vi\/docs-tag\/notificationx\/"},{"term_name":"Shortcode","term_url":"https:\/\/notificationx.com\/vi\/docs-tag\/shortcode\/"},{"term_name":"Social Proof","term_url":"https:\/\/notificationx.com\/vi\/docs-tag\/social-proof\/"},{"term_name":"WordPress","term_url":"https:\/\/notificationx.com\/vi\/docs-tag\/wordpress\/"}],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/notificationx.com\/vi\/wp-json\/wp\/v2\/docs\/2141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notificationx.com\/vi\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/notificationx.com\/vi\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/notificationx.com\/vi\/wp-json\/wp\/v2\/users\/8"}],"version-history":[{"count":22,"href":"https:\/\/notificationx.com\/vi\/wp-json\/wp\/v2\/docs\/2141\/revisions"}],"predecessor-version":[{"id":9974,"href":"https:\/\/notificationx.com\/vi\/wp-json\/wp\/v2\/docs\/2141\/revisions\/9974"}],"wp:attachment":[{"href":"https:\/\/notificationx.com\/vi\/wp-json\/wp\/v2\/media?parent=2141"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/notificationx.com\/vi\/wp-json\/wp\/v2\/doc_category?post=2141"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/notificationx.com\/vi\/wp-json\/wp\/v2\/doc_tag?post=2141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}