Skip to content

bdkoder/retro-custom-features

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Retro Custom Features

A WordPress plugin providing Visitor Counter and IP Address widgets with full Elementor support.

Features

  • 📊 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

Installation

  1. Upload the retro-custom-features folder to /wp-content/plugins/
  2. Activate the plugin through the Plugins menu in WordPress
  3. Database tables are created automatically on activation

Usage

Elementor Widgets

  1. Open any page in Elementor Editor
  2. Search for "Visitor Counter" or "Your IP Address"
  3. Drag the widget to your page
  4. Customize using the Style tab controls

Native WordPress Widgets

  1. Go to Appearance → Widgets
  2. Find "RCF Visitor Stats" or "RCF Your IP"
  3. Drag to any sidebar or widget area

Elementor Controls

Visitor Counter

  • 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

Your IP Widget

  • Custom label text
  • Horizontal/Vertical layout
  • Alignment options
  • Background, padding, border radius, box shadow
  • Label and IP value typography

Database Tables

The plugin creates two tables:

  • {prefix}_rcf_visitor_stats - Daily visitor counts
  • {prefix}_rcf_visitor_ips - IP tracking for online status

Configuration

Default settings (can be modified via code):

  • Online timeout: 10 minutes
  • IP cleanup: 30 days

Security Features

  • Proxy-aware IP detection (Cloudflare, X-Forwarded-For)
  • Bot and crawler filtering
  • Prepared SQL statements
  • Output escaping

Requirements

  • WordPress 5.0+
  • PHP 7.4+
  • Elementor 3.0+ (optional, for Elementor widgets)

Changelog

1.2.0

  • 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

1.1.0

  • Initial release with modular structure

License

GPL v2 or later

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors