A WordPress plugin providing Visitor Counter and IP Address widgets with full Elementor support.
- 📊 Visitor Counter Widget - Tracks online, daily, weekly, monthly, yearly, and total visitors
- 🌐 Your IP Widget - Displays visitor's IP address
- 🎨 Elementor Integration - Full styling controls in Elementor editor
- 📱 Responsive Design - Works on all devices
- 🌙 Dark Mode Support - Automatic dark mode detection
- ⚡ Performance Optimized - Caching and efficient queries
- 🔒 Security Focused - SQL injection prevention, bot filtering, proxy detection
- Upload the
retro-custom-featuresfolder to/wp-content/plugins/ - Activate the plugin through the Plugins menu in WordPress
- Database tables are created automatically on activation
- Open any page in Elementor Editor
- Search for "Visitor Counter" or "Your IP Address"
- Drag the widget to your page
- Customize using the Style tab controls
- Go to Appearance → Widgets
- Find "RCF Visitor Stats" or "RCF Your IP"
- Drag to any sidebar or widget area
- Toggle visibility for each stat (Online, Today, Yesterday, Week, Month, Year, Total)
- Card background color, border radius, box shadow
- Label color and typography
- Badge colors, text color, border radius
- Custom label text
- Horizontal/Vertical layout
- Alignment options
- Background, padding, border radius, box shadow
- Label and IP value typography
The plugin creates two tables:
{prefix}_rcf_visitor_stats- Daily visitor counts{prefix}_rcf_visitor_ips- IP tracking for online status
Default settings (can be modified via code):
- Online timeout: 10 minutes
- IP cleanup: 30 days
- Proxy-aware IP detection (Cloudflare, X-Forwarded-For)
- Bot and crawler filtering
- Prepared SQL statements
- Output escaping
- WordPress 5.0+
- PHP 7.4+
- Elementor 3.0+ (optional, for Elementor widgets)
- Added Elementor widget controls for full customization
- Added transient caching for performance
- Added bot filtering
- Added proxy-aware IP detection
- Added dark mode CSS support
- Added responsive design improvements
- Initial release with modular structure
GPL v2 or later