Thêm Font Awesome
Mở file functions.php trong child theme của bạn (nếu chưa có child theme, bạn nên tạo child theme để tránh mất thay đổi khi update theme). Thêm đoạn code sau:
function add_fontawesome_icons() {
wp_enqueue_style( 'font-awesome', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css' );
}
add_action( 'wp_enqueue_scripts', 'add_fontawesome_icons' );
Chào ! Bạn thấy nội dung này thế nào?
Xem thêm:
- Hiệu ứng chiếu sáng (shine effect) (hiệu ứng ánh sáng lướt qua) khi hover vào hình ảnh
- Tại sao tắt REST API thì Contact Form 7 (CF7) không hoạt động?
- Hướng dẫn tích hợp Google Translate vào website
- Hướng dẫn tạo hiệu ứng placeholder typewriter (gõ chữ) cho ô tìm kiếm
- Tìm nhanh vị trí file php.ini trên máy chủ Linux