CountPosts v 1.0 - WordPress Plugin
CountPosts V 2.0 a for latest WordPress versions from 2.5 to 2.6.2
Now it don’t count post from all users with user-level 8, (admin permissions), so it will not count visits from whole admin team, not just one admin person like older version
CountPosts V 1.1 Beta for WP 1.5
CountPosts V 1.1 Beta for WP 2.0
CountPosts is plugin for WordPress Blog. It’s very easy to install and use.
This plugin count visits on your blog, but not when u are log-in as admin. Also count visits for every post separated, and u know in every moment how many people read your posts. U can see what is the most read post in your blog. Also when u read your posts, CountPost won’t count your visits.
CountPost make u list of the most read post, with hits for every post separated.
Installation:
1) Add CountPost.php in Plugin folder
2) In Plugins section, click on the activate button for CountPost plugin
3) Add
-
<?php HitThisPost(‘Hits for this post:’, ”); ?>;
in index.php or single.php (It depending of your Theme you using) somewhere before comments or where ever you like. First and second attribute can be changed.
4) Add
-
<?php mainCounter(‘Visits: : ‘, ‘ .’); ?>
in sidebar.php First attribute is print before visits number, and second is after visits number
5) Add
-
<?php TopHitsList(); ?>
somewhere when u want to show top list of read posts.
Using TopHitsList(); function
-
<?php function TopHitsList($beforeRead = ‘ (’, $afterRead = ‘ ).’, $top = 5, $beforeAll = ‘<ul>’, $beforeLink =‘<li>’,
-
$afterLink = ‘</li>’);
-
-
<?php
-
function TopHitsList($beforeRead = ‘ (’, $afterRead = ‘ ).’, $top = 5, $beforeAll = ‘<ul>’, $beforeLink =‘<li>’,$afterLink = ‘</li>’);
-
-
-
/*$beforeAll - print before all.
-
$afterAll - print after all.
-
$beforeLink - print before post link.
-
$beforeRead - print after post link and before hits.
-
$afterRead - print after hits.
-
$afterLink - print after $afterRead*/
-
?>
-
- POST NAME1 (HITS 1 ).
- POST NAME2 (HITS 2 ).
- POST NAME3 (HITS 3).
…
Sample of using TopHitsList() function
-
-
<?php
-
//in unnumbered list
-
TopHitsList(‘ Read ’,‘ times.’, $top = 5, ‘<ul>’, ‘<li>’, ‘</li>’, ‘</ul>’);
-
-
//in numbered list
-
-
TopHitsList(‘ Read ’,‘ times.’, $top = 5, ‘<ol>’, ‘<li>’, ‘</li>’, ‘</ol>’);?>
Output will be something like this:
POST NAME1 Read 12 times.
POST NAME2 Read 34 times.
…
Older version problems:
- Version 1.0 don’t work if your blog use Revrite Rule. Now it works even if your link structure looks like this : www.yourblog.com/blog/2006/04/04/sample-post/
- When activate some other plugin, you had error: WordPress database error: [Duplicate column name ‘post_hits’] . This error wasn’t making any problems, but it was annoying.
Download Latest version:
Download CountPost for WordPress 1.5
Download CountPost for WordPress 2.0
Update 5. April 2006
New version 1.1 Beta is hire. I fixed some bugs in 1.0 version:
If u have any problems, suggestions for this plugin contact me.
O Tekstu
Trenutno čitate “CountPosts v 1.0 - WordPress Plugin”
- Objavljeno:
- 10.24.05 / 2pm
- Kategorija:
- Razno, WordPress Plugins
- Reakcije na tekst:
- Vidi reakcije
- Statistika:
- 104290 pregleda
Slčni tekstovi
TOP 10 najčitanijih tekstova
- CountPosts v 1.0 - WordPress Plugin - pročitano 104290 puta
- Vote For Post Plugin v 1.0 - WordPress Plugin - pročitano 59265 puta
- Svetlana Ceca Ražnatović i njen kum(ić) Legija ! - pročitano 39852 puta
- Yahoo pokrenuo svoju drustvenu mrežu - Mash - pročitano 22001 puta
- AdSense Attachment Plugin - pročitano 18947 puta
- Dvornikovi - novi show - pročitano 15032 puta
- MP3 muzika iz Slikonskih grudi - pročitano 14376 puta
- Grobari vs Lopovska Uprava - pročitano 13916 puta
- Pimp my ride - pročitano 13264 puta
- Legalizacija Automobila preko Kosova (uskoro ...) - pročitano 13083 puta

(72 votes, average: 4.11 out of 5)
89 Komentara
Idi na formu za komentar | rss komentara [?]