Plugin Name: Daily Top 10 Posts

INSTALLATION
------------
1. Download the plugin from http://www.alleba.com/blog/wp-downloads/dailytop10.zip
2. Extract and upload dailytop10.php to 'yourserver.com/wp-content/plugins/'
3. Login to your Wordpress admin panel and browse to the Plugins section.
4. Activate The Daily Top 10 Posts plugin.

INSTRUCTIONS
------------
1. Go to Admin Panel > Design > Theme Editor and click on Single Post (single.php).

	 #Find this line:
		
		<?php the_time('F jS, Y') ?> //date
		
	 #Right after it, insert this line:
		<br /><?php if (function_exists('todays_overall_count')) { todays_overall_count($post->ID, 'Visited', 'times', 'so far today', '0', 'show'); } ?>
		
   #The line will display something like "Visited 300 times, 25 so far today" while viewing an individual post.
   #You may edit the wording to suit your preference.
   #If you wish to leave a word/phrase empty, use two quotes '' instead of just leaving it completely blank.
   #Insert only one instance of this line to avoid double tracking.
   #Change '0' to '1' if you wish to track unique sessions.
   #Change 'show' to 'noshow' if you donot wish to display the post count information.

2. To display the number of views per post on the main index page, click on Main Index Template (index.php) in the Theme Editor panel.

   #Find this line:
   
    <?php the_time('F jS, Y') ?>
   
   #Right after it, insert this line:
		
		<br /><?php if (function_exists('todays_overall_main')) { todays_overall_main($post->ID, 'Viewed', 'times', 'so far today'); } ?>
	 
	 #The line will display something like "Visited 300 times, 25 so far today" under each post heading 
	 #while browsing your main page.
   #You may edit the wording to suit your preference.
   #If you wish to leave a word/phrase empty, use two quotes '' instead of just leaving it completely blank.
   
3. To add the sidebar widget, you may add it directly in the widgets panel of your theme (Design > Widgets).  If your theme is not widget-ready, click on sidebar.php in the Theme Editor panel and do the following:

	 #Add the following code:
	 
	  <h3>Top Posts for Today</h3>
    <?php if (function_exists('todays_count_widget')) { todays_count_widget('views', 'ul'); }?>
    
   #You may edit the word "views" to your liking (e.g. visits, pageviews or leave it empty '').
   #The list format defaults to an unordered list (ul).  If you would like an ordered list, change it to 'ol'.

4. To add the sidebar widget to show your most popular posts overall, you may add it directly in the widgets panel of your theme (Design > Widgets).  If your theme is not widget-ready, click on sidebar.php in the Theme Editor panel and do the following:
	 #Add the following code:
	 
	  <h3>Overall Top Posts</h3>
    <?php if (function_exists('todays_overall_count_widget')) { todays_overall_count_widget('views', 'ul'); } ?>
    
   #You may edit the word "views" to your liking (e.g. visits, pageviews or leave it empty '').
   #The list format defaults to an unordered list (ul).  If you would like an ordered list, change it to 'ol'.