=== Front Page Reload Counter ===
Contributors: samiur6688  
Tags: counter, visits, reloads, homepage, tracking  
Requires at least: 5.6  
Tested up to: 7.0  
Requires PHP: 7.4  
Stable tag: 1.0.1  
License: GPLv2 or later  
License URI: https://www.gnu.org/licenses/gpl-2.0.html  
Plugin URI: https://wordpress.org/plugins/front-page-reload-counter  

Tracks homepage visits (reloads) by non-logged-in users and displays the total count, last visit time, and detailed logs in the WordPress admin.

== Description ==

**Front Page Reload Counter** is a lightweight plugin that tracks how often your site’s homepage is reloaded by visitors — excluding logged-in users. It shows a simple count of total reloads, the timestamp of the most recent reload, and a detailed log of reload events on a dedicated admin page.

No cookies, no tracking scripts — just a clean and minimal way to monitor homepage visits.

**Features:**
- Counts reloads of your WordPress homepage by public visitors only (ignores logged-in users)
- Displays total reload count and timestamp of the last reload
- Shows detailed reload logs with timestamps
- Includes buttons to clear the counter and delete all logs
- Provides a pause/resume toggle to temporarily stop counting reloads
- Easy to use admin page accessible via the main WordPress admin menu

Ideal for lightweight tracking or simple visitor monitoring without any performance impact.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/front-page-reload-counter/` directory, or install it via the WordPress plugin screen.  
2. Activate the plugin through the ‘Plugins’ menu in WordPress.  
3. Go to **Reload Counter** in your WordPress admin sidebar menu to view and manage the reload statistics and logs.

== Frequently Asked Questions ==

= Does the plugin count reloads from logged-in users? =  
No. The counter only tracks reloads from non-logged-in (public) visitors.

= Can I reset the counter? =  
Yes. You can reset the total count and last reload timestamp using the **Clear Counter** button on the admin page.

= Does the plugin keep logs of reloads? =  
Yes. Detailed reload logs are stored and displayed on the admin page. 

= Can I pause the reload counting? =  
Yes. The plugin includes a **Pause/Resume Counter** toggle on the admin page to temporarily stop or restart counting.

= Is there a limit on the number of entries? =

Yes, there is a limit. The log will show a total of 100 entries. Older entries will be automatically deleted to maintain the total number of entries within the limit.

== Screenshots ==

1. Example of output

== Changelog ==

= 1.0 =
* Initial release.

= 1.0.1 =
* Updated "Tested up to" version.
* Improved database query handling for WordPress coding standards compliance.
* Updated language file name.