Horje
CountPosts - Plugin for counting visit for every post separately. Wordpress Tutorial

Noted That:

  • To install correctly this countposts-v-10-wordpress-plugin.zip .
  • Fisrt Download the countposts-v-10-wordpress-plugin.zip to your computer
  • Extract/Open countposts-v-10-wordpress-plugin.zip to Your Computer.
  • Then, Find readme.txt file inside countposts-v-10-wordpress-plugin.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.

Start the Tips:

1. First Download " countposts-v-10-wordpress-plugin.zip " Plugin to your Local Computer. (Click Download)

2. Then, Login to your " yourdomain.com/wp-admin " Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse " countposts-v-10-wordpress-plugin.zip "  Downloaded plugin from your computer, Where you downloaded countposts-v-10-wordpress-plugin.zip According to Step – 1 Above then, click on " Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on " Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. " CountPosts " folder is added on left sidemenu. Now, Click on " CountPosts " folder.

   Noted that: If you do not see " CountPosts " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ".

8. Now you configure yourself oR Watch video tutorial below about  CountPosts Configurtions and Settings or How to work " CountPosts " in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " CountPosts " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is CountPosts
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide

1) Add CountPost.php in Plugin folder
2) In Plugins section, click on the activate button for CountPost plugin
3) Add
Code (php)

1.
;

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
Code (php)

1.

in sidebar.php First attribute is print before visits number, and second is after visits number
5) Add
Code (php)

1.

somewhere when u want to show top list of read posts.

Using TopHitsList(); function
Code (php)

1.

    ?, $beforeLink =?

  • ?,
    2.
    $afterLink = ?
  • ?);

    Code (php)

    1.

    2.

      ?, $beforeLink =?

    • ?,$afterLink = ?
    • ?);
      4.

      5.

      6.
      /*$beforeAll – print before all.
      7.
      $afterAll – print after all.
      8.
      $beforeLink – print before post link.
      9.
      $beforeRead – print after post link and before hits.
      10.
      $afterRead – print after hits.
      11.
      $afterLink – print after $afterRead*/
      12.
      ?>
      13.


countposts , counting , visit , every , post , separately , tutorial ,

Name

Read Article
https://develop.horje.com/learn/1434/reference