Hướng dẫn code mới themes Wordpress _cách 2_ hiệu quả nhất
Hàm
//Khởi tạo hàm kết nối CSS cho toàn trang
function ten_style()
{
wp_enqueue_style('ten_style', get_stylesheet_uri(), array());
}
add_action('wp_enqueue_scripts', 'ten_style');
----------
Tham khảo:
http://codex.wordpress.org/Function_Reference/wp_enqueue_script
// Tao menu trong Apearance >> menus
Không có nhận xét nào:
Đăng nhận xét