Hàm tạo breadcrumb cho wordpress
Dùng hàm sau thêm vào function.php để tạo beadcrumb theo cấu trúc danh mục cha ,con cho wordpress nhé [crayon-663b744db78de769049799/] Lưu ý: hảm get_categories(‘orderby=term_group&include=’.$cid) còn có thể sort theo các tiêu chí sau: [crayon-663b744db78e7617028797/] Để hiển thị ra chúng ta có thể hook vào trong post của flatsome như sau [...]