📜  enqueue font awesome wordpress - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:01.635000             🧑  作者: Mango

代码示例1
function enqueue_load_fa() {
  wp_enqueue_style( 'load-fa', 'https://use.fontawesome.com/releases/v5.5.0/css/all.css' );
}

add_action( 'wp_enqueue_scripts', 'enqueue_load_fa');