Using Invisible Counter with Official StatCounter Plugin for WordPress Izmantojot Invisible Counter ar Oficiālais StatCounter Plugin, lai WordPress
WordPress bloggers using StatCounter service to track and count visitors and page views statistics on their blogs can now download and install WordPress blogeri izmanto StatCounter dienests, lai izsekotu un saskaita apmeklētājiem un lapu apmeklējumu statistika par saviem emuāriem tagad var lejupielādēt un instalēt official WordPess plug-in for StatCounter oficiālās WordPess plug-in uz StatCounter to easily install StatCounter tracking code on self-hosted on the blog for comprehensive range of web analytic stats. viegli uzstādīt StatCounter izsekošanas kodu self-hosted par blogu vispusīgam web analītisko stats.
The StatCounter plugin provides easier way to install tracking code without the need to manually edit and modify the template files or code. StatCounter spraudnis nodrošina vieglāku veidu, kā instalēt uzskaites kods nav nepieciešams manuāli rediģēt un mainīt veidņu failus vai kodu. However, it also introduces some inflexibilities too, such as to make use of invisible counter. Tomēr tas arī ievieš dažas inflexibilities arī, piemēram, izmantot uz neredzamiem counter. 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. Kaut gan tas ir iespējams pielāgot Counter Display stila neredzamu in "Configure Counter" variantam, bet StatCounter dažreiz pievienot StatCounter.com sauklis ir tīmekļa lapas ar kodu pievienotās kaut counter veida uzstādījums ir neredzami kontroles panelī.
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. Lai nodrošinātu, ka StatCounter vienmēr palikt neredzams, izmantojot Oficiālais StatCounter Plugin, lai WordPress, lai automātiski parādītu uzskaites kodu visiem WordPress blog posts un lapas, īpašu neredzamu tag kods vajadzēja pieskaitīt atbilstošu uzskaites kodu, pārveidojot-spraudni failu.
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). Open StatCounter-WordPress-Plugin.php jebkurā teksta redaktorā (ja jau augšupielādējis serverī, attālās SSH vērā serveri un mainīt direktoriju uz \ wp-content \ plugins direktorijā). Then go to the bottom of the code, and locate a block of text similar to the following text at around line 197: Tad iet uz apakšu kodu un izvietot teksta bloku līdzīgs šādu tekstu ap line 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: Pievienot papildu var līniju zemāk, lai starp, vai augšā vai apakšā esošo 3 lines:
var sc_invisible=1;
The final code will looks like below: Gala kods izskatās šādi:
<!-- 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. Augšupielādēt jaunu spraudni failu servera, vai ja Jūs jau rediģēt uz servera, saglabājiet failu. Voila, the StatCounter will now always invisible to visitors' eyes. Voila, StatCounter tagad vienmēr neredzama apmeklētāju acīs.
IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: lapa mašīna iztulkot un pasniegts tàds, "kàds tas ir" bez garantijas. Machine translation may be difficult to understand. Mašīntulkošanas var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.
Related Articles Saistītie raksti
- StatTraq – Wordpress Plugin for Site Statistic and Traffic Counter StatTraq - WordPress spraudnis priekš Site Statistika un satiksmes Counter
- How to Disable or Hide WordPress.com Automattic Stats Plugin Smiley Icon Kā atspējot vai Paslēpt WordPress.com Automattic Stats Plugin Smiley Icon
- Permanently Disable AdSense-Deluxe WordPress Plugin Reward Plugin Author Option Pastāvīgi Atslēgt AdSense-Deluxe WordPress Plugin Reward Plugin Author variants
- WordPress Plugin: Display Google Analytics and FeedBurner Reports Statistics from Site Admin WordPress Plugin: Parādīt informāciju par Google Analytics un FeedBurner Ziņojumi statistika Site Admin
- Technorati Incoming Links Plugin for WordPress Technorati Incoming Links Plugin, lai WordPress
- 3 Column Relaxation WordPress Theme comments-paged.php for Paged-Comments WordPress Plugin 3 Column Atpūta WordPress Theme komentārus paged.php par Paged komentāriem WordPress Plugin
- Caption Disabler WordPress Plugin to Disable and Remove Captions Functionality Caption Disabler WordPress Plugin atspējot and Remove paraksti Funkcionalitāte
- Automatically Update WordPress to Latest Version with Automatic Upgrade Plugin (WPAU) Automātiski atjaunināt WordPress ar jaunāko versiju ar Automatic Upgrade Plugin (WPAU)
- WLWManifest Disabler Plugin to Remove XLM Link in WordPress Blog Header WLWManifest Disabler Spraudnis Noņemt xlm Saite WordPress Blog Header
- Free Download: Akismet for WordPress Plugin 2.0 to Stop Comment, Trackback and Pingback Spam Free Download: Akismet 2,0 WordPress Plugin, lai apturētu Comment, Trackback un Pingback Spam









































