- và dán vào vị trí cần hiển thị. Có một lưu ý là nó sẽ hiển thị như một thẻ link thông thường nên có thể sử dụng thoải mái trong việc chèn link
- Trong phần shortcode trên phần URL fake : link_customlà phần mình nhập vào. Ví dụ một link giảm giá chẳng hạn. Và phần Add Row click vào để thêm link.

Một lưu ý quan trọng là các shortcode sẽ hoạt động theo số thứ tự từ trên xuống, ví dụ shortcode link Fake đầu tiên tương ứng với Add Row link chuyển hướng đích đầu tiên, và tất nhiên cái shortcode thứ hai sẽ tương ứng với Add Row thứ hai.
III: Nâng cao
– Trong trường hợp muốn bọc link thì thêm mã tạo post type Go vào function
Mã function
//
function realdev_register_my_cpts_and_taxes()
{
/**
* Post Type: Go Links.
*/
$labels = [
"name" => esc_html__("Go Links", "realdev"),
"singular_name" => esc_html__("Go Links", "realdev"),
];
$args = [
"label" => esc_html__("Go Links", "realdev"),
"labels" => $labels,
"description" => "",
"public" => true,
"publicly_queryable" => true,
"show_ui" => true,
"show_in_rest" => true,
"rest_base" => "",
"rest_controller_class" => "WP_REST_Posts_Controller",
"rest_namespace" => "wp/v2",
"has_archive" => true,
"show_in_menu" => true,
"show_in_nav_menus" => true,
"delete_with_user" => false,
"exclude_from_search" => false,
"capability_type" => "post",
"map_meta_cap" => true,
"hierarchical" => true,
"can_export" => true,
"rewrite" => ["slug" => "go", "with_front" => true],
"query_var" => true,
"menu_position" => 10,
"menu_icon" => "dashicons-admin-site",
"supports" => ["title", "editor", "thumbnail", "excerpt", "trackbacks", "custom-fields", "comments", "revisions", "author", "page-attributes", "post-formats"],
"taxonomies" => ["go_cat"],
"show_in_graphql" => false,
];
register_post_type("go", $args);
/**
* Taxonomy: Danh mục Links.
*/
$labels = [
"name" => esc_html__("Danh mục Links", "realdev"),
"singular_name" => esc_html__("Danh mục Links", "realdev"),
];
$args = [
"label" => esc_html__("Danh mục Links", "realdev"),
"labels" => $labels,
"public" => true,
"publicly_queryable" => true,
"hierarchical" => true,
"show_ui" => true,
"show_in_menu" => true,
"show_in_nav_menus" => true,
"query_var" => true,
"rewrite" => ['slug' => 'links-go', 'with_front' => true, 'hierarchical' => true,
],
"show_admin_column" => true,
"show_in_rest" => true,
"show_tagcloud" => false,
"rest_base" => "go_cat",
"rest_controller_class" => "WP_REST_Terms_Controller",
"rest_namespace" => "wp/v2",
"show_in_quick_edit" => true,
"sort" => true,
"show_in_graphql" => false,
];
register_taxonomy("go_cat", ["go"], $args);
}
add_action('init', 'realdev_register_my_cpts_and_taxes');
Sau khi tạo xong sẽ như này:

Thêm Danh mục giống bài viết, hoặc sản phẩm. Phần Thêm trang mới chính là trang bọc link để ngụy trang fake cho link chuyển hướng đích.