Using Invisible Counter with Official StatCounter Plugin for WordPress Lượt truy cập bằng cách sử dụng Invisible với công StatCounter Plugin cho WordPress
WordPress bloggers using StatCounter service to track and count visitors and page views statistics on their blogs can now download and install StatCounter WordPress blog bằng cách sử dụng dịch vụ để theo dõi và đếm được số người truy cập và xem số liệu thống kê trên trang blog của mình bây giờ có thể tải về và cài đặt official WordPess plug-in for StatCounter chính thức WordPess plug-in cho StatCounter to easily install StatCounter tracking code on self-hosted on the blog for comprehensive range of web analytic stats. để dễ dàng cài đặt mã theo dõi trên StatCounter tự lưu trữ trên blog toàn diện cho một loạt các trang web phân tích số liệu thống kê.
The StatCounter plugin provides easier way to install tracking code without the need to manually edit and modify the template files or code. StatCounter các plugin cung cấp cách thức dễ dàng hơn để cài đặt mã theo dõi mà không cần phải chỉnh sửa bằng tay và sửa đổi các tập tin hoặc các mẫu mã. However, it also introduces some inflexibilities too, such as to make use of invisible counter. Tuy nhiên, nó cũng giới thiệu một số inflexibilities quá, chẳng hạn như để làm cho việc sử dụng vô cập. Although it's possible to customize counter display style to invisible in “Configure Counter” option, but StatCounter sometimes add a StatCounter.com tagline to the web pages with code added even though the counter type is set to invisible in control panel. Mặc dù có thể tùy chỉnh để hiển thị cập đến phong cách ẩn trong "Cấu hình cập" tùy chọn, nhưng đôi khi thêm một StatCounter StatCounter.com tagline vào các trang web với mã số được thêm vào mặc dù các loại Số lượng được đặt thành vô hình trong bảng điều khiển.
To ensure that StatCounter always stay invisible when using Official StatCounter Plugin for WordPress to automatically display the tracking code on all Wordpress blog posts and pages, a specific invisible tag code needed to be added into the tracking code by modifying the plug-in file. Để đảm bảo rằng StatCounter luôn ẩn khi sử dụng chính thức StatCounter Plugin cho WordPress để tự động hiển thị mã theo dõi trên tất cả các bài đăng trên blog Wordpress và các trang web, một từ khóa cụ thể ẩn mã cần thiết để được thêm vào mã theo dõi của việc sửa đổi plug-in tập tin.
Open StatCounter-Wordpress-Plugin.php in any text editor (if already uploaded to server, remote SSH into the server and change directory to \wp-content\plugins directory). Đã giải quyết StatCounter-Wordpress-Plugin.php trong bất kỳ trình soạn thảo văn bản (nếu đã được tải lên máy chủ, xa SSH vào máy chủ và thay đổi vào thư mục \ wp-nội dung \ plugins thư mục). Then go to the bottom of the code, and locate a block of text similar to the following text at around line 197: Sau đó đi đến dưới cùng của mã số, và tìm một khối văn bản tương tự với những văn bản sau đây vào khoảng dòng 197:
<!-- Start of StatCounter Code -->
<script type="text/javascript">
<!--
var sc_project=<?php echo $sc_project; ?>;
var sc_partition=<?php echo $sc_part; ?>;
var sc_security="<?php echo $sc_security; ?>";
//-->
</script>
<script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script>
<!-- End of StatCounter Code -->
Add an additional var line below to in between, or on top or bottom of existing 3 lines: Var, bổ sung thêm một dòng dưới đây để ở giữa, hoặc trên đầu trang hoặc dưới cùng của hiện có 3 dòng:
var sc_invisible=1;
The final code will looks like below: Các mã số cuối cùng sẽ trông như dưới đây:
<!-- Start of StatCounter Code -->
<script type="text/javascript">
<!--
var sc_project=<?php echo $sc_project; ?>;
var sc_invisible=1;
var sc_partition=<?php echo $sc_part; ?>;
var sc_security="<?php echo $sc_security; ?>";
//-->
</script>
<script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script>
<!-- End of StatCounter Code -->
Upload the new plugin file to the server, or if you already editing on the server, save the file. Tải lên tập tin mới cắm vào máy chủ, hoặc nếu bạn đã chỉnh sửa trên máy chủ, lưu tập tin này. Voila, the StatCounter will now always invisible to visitors' eyes. Thì đấy, các StatCounter bây giờ sẽ luôn luôn ẩn đến cho du khách 'mắt.
IMPORTANT : The page is machine translated and provided "as is" without warranty. Lưu ý: Các trang web là máy tính dịch và cung cấp "như là" mà không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể là khó hiểu. Please refer to Xin vui lòng tham khảo original English article Tiếng Anh bản gốc bài viết whenever possible. bất cứ khi nào có thể.
Related Articles Bài viết liên quan
- StatTraq – Wordpress Plugin for Site Statistic and Traffic Counter StatTraq - Wordpress Plugin cho các trang web và giao thông Thống kê Lượt truy cập
- How to Disable or Hide WordPress.com Automattic Stats Plugin Smiley Icon Làm thế nào để Vô hiệu hoá hoặc Ẩn WordPress.com Automattic Plugin Smiley Số liệu thống kê Biểu tượng
- Permanently Disable AdSense-Deluxe WordPress Plugin Reward Plugin Author Option Vô hiệu hoá vĩnh viễn của AdSense-Deluxe WordPress Plugin Tự thưởng Plugin Tác giả Tùy chọn
- WordPress Plugin: Display Google Analytics and FeedBurner Reports Statistics from Site Admin WordPress Plugin: Hiển thị FeedBurner Google Analytics và Báo cáo thống kê từ các trang web quản trị
- Technorati Incoming Links Plugin for WordPress Các Liên kết Technorati Plugin cho WordPress
- Caption Disabler WordPress Plugin to Disable and Remove Captions Functionality Chú thích Disabler WordPress Plugin vào Vô hiệu hoá tính năng và Hủy bỏ Chú thích
- 3 Column Relaxation WordPress Theme comments-paged.php for Paged-Comments WordPress Plugin 3 Cột Relaxation WordPress Chủ đề-paged.php ý kiến cho Paged-Bình luận WordPress Plugin
- Automatically Update WordPress to Latest Version with Automatic Upgrade Plugin (WPAU) Tự động cập nhật phiên bản mới nhất WordPress để tự động với Nâng cấp Plugin (WPAU)
- WLWManifest Disabler Plugin to Remove XLM Link in WordPress Blog Header WLWManifest Disabler Plugin để XLM Hủy bỏ liên kết trong WordPress Blog của Tiêu đề
- Free Download: Akismet for WordPress Plugin 2.0 to Stop Comment, Trackback and Pingback Spam Miễn phí Tải về: Akismet cho WordPress Plugin 2,0 đến Ngưng luận, Trackback và Pingback Thư rác









































