我有一個帶有多個樣式表和js文件的引導高級主題。我想使用worpress作為其CMS,我遵循了所有必要的步驟,但在嘗試包含全局wp_head()時獲得了庫存
2 回答

寶慕林4294392
TA貢獻2021條經驗 獲得超8個贊
我會創建一個新主題,并將所有必需的css / js文件放在頭.php文件中。包括主題默認 css 文件
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>">
包括所需的其他文件:
<link href="<?php echo get_template_directory_uri();?>/phone.css" rel="stylesheet" type="text/css" media="only screen and (max-device-width:900px)">
- 2 回答
- 0 關注
- 98 瀏覽
添加回答
舉報
0/150
提交
取消