How to Disable or Hide WordPress.com Automattic Stats Plugin Smiley Icon如何禁用或隱藏WordPress.com Automattic統計插件笑臉圖標
WordPress.com Stats plugin for self-hosted WordPress blog (aka Automattic Stats plugin) is a good and free web visitors statistics tracker for WordPress blogging platform. WordPress.com統計插件的自我主辦WordPress的博客(又名Automattic統計插件)是一個很好的免費網站訪問者統計跟踪的WordPress的博客平台。 The WordPress.com Status plugin provides the most popular metrics, stats and information that a blogger wants to track in a clear and concise interface. WordPress.com狀態的插件提供了最流行的數據,統計資料和信息,一個Blogger要跟踪的明確和簡潔的界面。
However, after activating and implementing WordPress Stats plugin, a small smiley face icon will be displayed at the bottom of the page.然而,在激活和執行WordPress的統計插件,一個小笑臉圖標將顯示在頁面底部。 The smiley face, although tiny in size, may affect the overall look and feel of the blog, or causing confusion among visitors about the image that appears oddly at the bottom.的笑臉,雖然規模很小,可能會影響到整體外觀和感覺的博客,或造成混亂訪問者的形象出現奇怪底部。
Luckily, it’s possible to hide the smiley face added by the WordPress.com Automattic Stats plugin, by using the following CSS hack.幸運的是,有可能隱藏笑臉增加的WordPress.com Automattic統計插件,使用以下的CSS破解。
To hide the smiley face of WordPress.com Stats plugin, add the following CSS code to the WordPress blog’s stylesheet (style.css):要隱藏的笑臉WordPress.com統計插件,添加下面的CSS代碼的WordPress的博客的樣式表( style.css ) :
img#wpstats{width:0px;height:0px;overflow:hidden}
Alternatively, add the following JavaScript code into the WordPress footer.php after wp_footer() declaration:另外,添加以下JavaScript代碼到WordPress的footer.php後wp_footer ( )聲明如下:
<script type=”text/javascript”> <script type="text/javascript">
var e = document.getElementById(”wpstats”);葉é = document.getElementById ( “ wpstats ” ) ;
e.style.width = “0px”; e.style.width = “ 0px ” ;
e.style.height= “0px”; e.style.height = “ 0px ” ;
e.style.overflow = “hidden”; e.style.overflow = “隱藏” ;
</script> “ /腳本”
Note that the image is required for proper stats gathering and traffic tracking.請注意,圖像需要進行適當的統計信息的收集和運輸跟踪。 Anything such as applying “display:none” to the image will cause the image not to be loaded by the browser and will break the stats.任何事情,如運用“顯示:無”的形象將造成的形象不被載入的瀏覽器,將打破狀態。
One consent of using the CSS or JavaScript above is the usage of hidden overflow style, which may be treated as a hidden text or hidden link by search engines especially Google that may gives penalty to such implementation that may be perceived as untrustworthy since it presents information to search engines differently than to visitors.其中同意使用的CSS或JavaScript以上是使用隱藏的溢流式,可視為一個隱藏文本或隱藏鏈接的搜索引擎是谷歌,可能使這種刑罰執行情況,可能被看作是不可信的,因為它介紹搜索引擎不同的參觀者。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要說明:這是一台機器翻譯網頁這是“原樣”提供,無保修。 Machine translation may be difficult to understand.機器翻譯可能很難理解。 Please refer to請參閱 original English article英文原文的文章 whenever possible.只要有可能。
Share and contribute or get technical support and help at共享和貢獻或獲得技術支持和幫助 My Digital Life Forums 我的數字生活論壇 . 。
Related Articles相關文章
- Permanently Disable AdSense-Deluxe WordPress Plugin Reward Plugin Author Option永久禁用的AdSense豪華WordPress的插件插件作者獎勵選擇
- Caption Disabler WordPress Plugin to Disable and Remove Captions Functionality標題Disabler WordPress的插件禁用和刪除字幕功能
- Tag Managing Thing Plugin for WordPress 2.3 or Above標籤管理的事插件的WordPress的2.3或以上
- Technorati Incoming Links Plugin for WordPress Technorati的傳入聯繫WordPress的插件
- 3 Column Relaxation WordPress Theme comments-paged.php for Paged-Comments WordPress Plugin第3柱主題放寬WordPress的意見, paged.php的分頁,評論WordPress的插件
- Using Invisible Counter with Official StatCounter Plugin for WordPress用無形櫃檯正式StatCounter WordPress的插件
- StatTraq - Wordpress Plugin for Site Statistic and Traffic Counter StatTraq -W ordPress的插件站點統計和交通櫃檯
- WLWManifest Disabler Plugin to Remove XLM Link in WordPress Blog Header WLWManifest Disabler插件刪除XLM連結WordPress的博客標題
- Automatically Update WordPress to Latest Version with Automatic Upgrade Plugin (WPAU) WordPress的自動更新到最新版本的自動升級插件( WPAU )
- WordPress Plugin: Display Google Analytics and FeedBurner Reports Statistics from Site Admin WordPress的插件:顯示器谷歌分析和FeedBurner報告統計網站管理
































