Deprecated: Return type of TagFilterNodeIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/naomindc/public_html/stylengineer/wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1149
Deprecated: Return type of TagFilterNodeIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/naomindc/public_html/stylengineer/wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1159
Deprecated: Return type of TagFilterNodeIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/naomindc/public_html/stylengineer/wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1154
Deprecated: Return type of TagFilterNodeIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/naomindc/public_html/stylengineer/wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1144
Deprecated: Return type of TagFilterNodeIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/naomindc/public_html/stylengineer/wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1139
Deprecated: Return type of TagFilterNodeIterator::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/naomindc/public_html/stylengineer/wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1164
大部分的部落客使用Bluehost進行WordPress部落格架站
而『總訪客人數』、『今日訪客人數』、『今日瀏覽次數』、『總瀏覽次數』、『單篇文章人氣統計』這些都是屬於部落格基本的統計指標
然而Bluehost原生介面並沒有提供這些功能
需要安裝外掛(Plug-in)才能夠呈現在WordPress介面上
以下尤達圖解透過WP Statistics和Post views counter兩組套件/外掛程式
將這些重要的統計指標呈現在部落格介面上
★圖解安裝『Post Views Counter』和『WP Statistics』兩組套件
呈現『單篇文章人氣統計』和『訪客人數統計』教學
(1)『單篇文章人氣統計』
安裝Post Views Counter套件
在“設定”/”Post Views Counter”設定部落格頁面展示,
頁面大部分是英文比較難上手,共有兩頁“General” & “Display”
第一頁”General”:決定訪客人數的統計方式,統計範圍
- Exclude IPs: 把”本機IP”或是”指定特定IP”排除在訪客人數統計之外
- 其他設定維持預設就OK
第二頁”Display”:決定單篇文章人氣統計的呈現方式
- (1) Post Views Label: 決定描述文字,假設預設是”Post Views”,則在部落格頁面上會秀 Post Views:35人
- (2) Position: 決定文字擺放位置,有3種位置擺放選擇:
- before the content: 文章內容之前
- after the content: 文章內容之後
- manual: 直接消失在頁面上…
- (3) Display Style: 決定樣式,是否要秀圖標(icon)?是否要秀文字(label)
(lable為(1(.所指定的描述文字)
Icon Class: 決定圖標樣式,設定步驟如下:
- (1) 點選”Dashions”文字開啟超連結網頁
- (2) Click喜歡樣式,連到該圖示網頁
- (3) 把框框中的文字貼回框框中
在“控制台”/”首頁”往下滑,可以看到Post Views Counter套件的訪客統計資料
成果展示:
(2)『訪客人數統計』
安裝WP Statistics套件
在Bluehost左側欄位上會新增一條”統計”設定,可以看到訪客統計資料/統計圖表
在“外觀”/”小工具”設定部落格頁面展示
找到”統計”block,展開block
成果展示: