WordPress的 WordPress 主題模板:Cream Magazine 插入 Google Analyst 代碼

 WordPress的

WordPress 主題模板:Cream Magazine 插入 Google Analyst 代碼


 WordPress 主題模板:Cream Magazine 插入 Google Analyst 代碼


使用Google Analyst,或者Google Stationmaster 工具,很多人喜歡把代碼跟踪代碼直接放到網站的全局代碼中,它在<head> ...</head> 中間。這是幾天前發現的一個WordPress主題:Cream Magazine的放置方法。


WordPress 主題:<head> ... </ head> ... 在一個名為 Theme-hooks.php 的文件中,在 Inc 文件夾下的 Metabox 文件夾中。


在WordPress Background Top Top Editor中,可以找到如圖:

Cream Magazine :theme-hooks.php (inc/assoc/theme-hooks.php)


這樣就可以像平時那樣放置統計代碼了!

Post a Comment

0 Comments