Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the learndash-woocommerce domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /homepages/10/d964117120/htdocs/clickandbuilds/vuihocweb/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /homepages/10/d964117120/htdocs/clickandbuilds/vuihocweb/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time được gọi không chính xác. Tải bản dịch cho miền buddyboss-theme được kích hoạt quá sớm. Đây thường là dấu hiệu cho thấy một số mã trong plugin hoặc chủ đề chạy quá sớm. Bản dịch phải được tải tại hành động init hoặc sau đó. Vui lòng xem Hướng dẫn Debug trong WordPress để biết thêm thông tin. (Thông điệp này đã được thêm vào trong phiên bản 6.7.0.) in /homepages/10/d964117120/htdocs/clickandbuilds/vuihocweb/wp-includes/functions.php on line 6114

Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /homepages/10/d964117120/htdocs/clickandbuilds/vuihocweb/wp-content/plugins/google-site-kit/includes/Core/Admin/Standalone.php on line 95

Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /homepages/10/d964117120/htdocs/clickandbuilds/vuihocweb/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64

Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /homepages/10/d964117120/htdocs/clickandbuilds/vuihocweb/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64

Deprecated: version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /homepages/10/d964117120/htdocs/clickandbuilds/vuihocweb/wp-content/themes/buddyboss-theme/inc/plugins/buddyboss-menu-icons/vendor/codeinwp/themeisle-sdk/load.php on line 20

Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /homepages/10/d964117120/htdocs/clickandbuilds/vuihocweb/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64

Deprecated: filter_var(): Passing null to parameter #3 ($options) of type array|int is deprecated in /homepages/10/d964117120/htdocs/clickandbuilds/vuihocweb/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 75

Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /homepages/10/d964117120/htdocs/clickandbuilds/vuihocweb/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64

Deprecated: filter_var(): Passing null to parameter #3 ($options) of type array|int is deprecated in /homepages/10/d964117120/htdocs/clickandbuilds/vuihocweb/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 75

Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /homepages/10/d964117120/htdocs/clickandbuilds/vuihocweb/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64
Bài 8: Thêm các widget cho trang web thêm sinh động – Vui học web

Widget là những tiện ích nhỏ nằm bên cạnh hoặc xung quanh bài viết. Sử dụng widget là không bắt buộc. Trong bài này bạn sẽ thấy widget có thể làm trang web sinh động và hấp dẫn hơn. Hãy theo dõi video dưới đây.

Tóm tắt

Bạn đã quen với mục Giao Diện. Widget là một mục con trong đó.

Bài viết là chính và widget chỉ là phụ và vị trí của widget là ở xung quanh của bài viết, thường là ở bên phải và khu vực đó được gọi là Sidebar hoặc ở dưới (Footer)

Tuỳ thuộc vào theme các bạn đang dùng, các bạn có thể có những khu vực widget khác nhau, thường là Sidebar và Footer hoặc một số khu vực khác.

WordPress khuyến nghị sử dụng trình chỉnh sửa khối cho widget. Tuy nhiên chúng ta cũng có thể sử dụng phiên bản quản lý widget cổ điển.

Một số widget thông dụng là Lưu trữ bài viết theo tháng, Danh sách chuyên mục (Danh mục), Từ khoá (Mây thẻ), Lịch, bạn cũng có thể đặt nhạc hay video ở Sidebar.

Các plugin cũng cung cấp thêm cho chúng ta những lựa chọn mới cho widget.

Các bạn tham khảo plugin dưới đây:

Recent Post With ThumbnailsThêm danh sách bài viết với ảnh đại diệnhttps://wordpress.org/plugins/recent-posts-widget-with-thumbnails/
Classic WidgetsQuản lý Widget kiểu cũhttps://wordpress.org/plugins/classic-widgets/
Options for Twenty Twenty-OneĐể thêm sidebar và các lựa chọn khác, nếu bạn đang dùng theme Twenty Twenty Onehttps://wordpress.org/plugins/options-for-twenty-twenty-one/