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报告统计网站管理
































