Плагин VERAPower

VERAPower — VPN Integration for WordPress

Seamlessly integrate your VPN service with WordPress. Manage subscriptions, display VPN keys, and let users authenticate via Telegram.

🔐
Telegram Authentication
Secure login via Telegram bot or widget. No passwords needed.
📊
Dashboard Widgets
Display subscription status, balance, traffic usage, and VPN keys.
📱
VPN Apps Directory
Showcase compatible VPN apps with download links and setup instructions.
🎨
Theme Support
Automatic dark/light mode with customizable CSS variables.

Quick Start

1. Install the Plugin

Upload the plugin to your WordPress site and activate it.

2. Configure API Connection

Go to VERAPower → Settings in WordPress admin and enter:

  • Store ID from your VPN dashboard
  • API Token (generate in dashboard)
  • Telegram Bot Username

3. Add Shortcodes

Use shortcodes to display VPN widgets on any page:

[thevpn_dashboard] — Full user dashboard
[thevpn_service_stats] — Service promo widget
[thevpn_apps] — VPN apps directory

Theme Customization

Dark/Light Mode

The plugin automatically detects system preference via prefers-color-scheme. You can also force a specific theme:

<html data-theme="dark"> — Force dark mode
<html data-theme="light"> — Force light mode

Custom Colors

Override CSS variables in your theme to customize colors:

:root {
--thevpn-primary: #your-color;
--thevpn-primary-hover: #your-hover-color;
--thevpn-success: #your-success-color;
}

Available CSS Variables

Variable Description
--thevpn-primary Primary brand color
--thevpn-bg Main background color
--thevpn-text Primary text color
--thevpn-border Border color
--thevpn-radius Border radius
--thevpn-success Success state color
--thevpn-danger Error/danger color

Requirements

  • WordPress 5.0+
  • PHP 7.4+
  • VERAPower platform account
  • Telegram bot configured
Need Help? Visit our Shortcodes Guide for detailed documentation on all available shortcodes.
Live Examples: Check out the Template Examples page to see all widgets in action.