跳到内容

ThemePlus – Modern Theme Options Framework by FrontTheme

v1.1.0

Faruk Ahmed · 2026年6月22日 上架

A modern, React-powered WordPress theme options framework. 30 field types, white-label support, conditional logic — free forever.

正在使用
10 以下
评分
暂无
累计下载
431
最近更新
2026年11月13日
需要 WordPress 6.8+已测试到 7.1.5PHP 8.2+

贡献者

截图

ThemePlus admin panel — clean, modern React UI with sidebar navigation
ThemePlus admin panel — clean, modern React UI with sidebar navigation
All 30 field types — complete field type overview
All 30 field types — complete field type overview
Typography field — Google Fonts browser with live preview and subset selection
Typography field — Google Fonts browser with live preview and subset selection
Custom Fonts module — upload and manage self-hosted WOFF2/WOFF fonts
Custom Fonts module — upload and manage self-hosted WOFF2/WOFF fonts
Conditional logic — fields shown and hidden based on other field values
Conditional logic — fields shown and hidden based on other field values
Import/Export — one-click backup and restore of all settings
Import/Export — one-click backup and restore of all settings
Developer Panel — field metadata, current values, and code snippets
Developer Panel — field metadata, current values, and code snippets
Dark mode — full dark color scheme matching WordPress admin
Dark mode — full dark color scheme matching WordPress admin

ThemePlus is a free, open-source WordPress theme options framework built for developers who want a modern, lightweight React-powered options panel — no legacy dependencies, no upsells, no license keys.

Built from scratch with React, Vite, and modern PHP 8, ThemePlus delivers a polished admin interface, 30 field types, full white-label support, Google Fonts integration, custom font uploads, Import/Export, conditional logic, a REST API, and a Developer Panel — all free, with no license keys and no upsells.

30 Field Types

Every input a theme could need, organized into clean categories:

  • Text — Text, Textarea
  • Number — Number / Spinner, Slider
  • Choice — Select, Button Set, Radio, Checkbox, Select Image
  • Toggle — Toggle / Switch
  • Color — Color Picker, Gradient Picker
  • Media — Image, Gallery, Icon (FontAwesome 7)
  • Layout — Typography, Dimensions, Spacing, Border
  • Special — Info, Section, Raw, Shortcode
  • Date — Date Picker (date only or date + time)
  • Social — Social Media Links (20 platforms)
  • Code — Code Editor (CSS, JavaScript, HTML)
  • Advanced — Repeater, Background, Link, Group

Every field has a verified, documented value shape. For example:

  • image returns { id, url, width, height, alt, title } — empty array when no image selected
  • gallery returns an array of { id, url, alt } rows
  • border returns { width, style, color, radius }
  • select, radio and button_set return the chosen key as a string — numeric keys such as post IDs come back as '7435'
  • social_media returns an array of { platform, url } rows
  • repeater returns an array of row arrays keyed by sub-field id
  • gradient_picker returns a complete CSS linear-gradient() string

White-Label Support

Configure themeplus_framework_config() with your theme’s name, menu title, page title, slug, option key, and menu icon — the admin menu, browser title and saved options belong to your theme. The panel itself keeps the ThemePlus brand.

Convention: section and subsection icon takes a FontAwesome name only ('pen'). The Icon field default takes the full FontAwesome class ('fa-solid fa-star'). The plugin translates its own fallback strings; your theme translates its config strings in your own text domain.

Google Fonts + Custom Fonts

The Typography field includes a searchable browser of 1,899 Google Fonts with live preview, weight and style selection, subset support, and automatic font enqueueing on the frontend. Skip Google Fonts entirely and upload self-hosted fonts (WOFF2, WOFF) via the built-in Custom Fonts module — magic-byte verified, capability-gated, and output into @font-face rules automatically.

Note: Custom fonts are stored as Media Library attachments and are not affected by Reset All or Reset Section — use the per-font Delete button to remove uploaded files.

Conditional Logic

Show or hide any field based on the value of another. Supports 10 operators and three relation formats:

Operators: ==, !=, >, <, >=, <=, contains, !contains, empty, !empty

Single condition:
‘required’ => [‘sidebar_position’, ‘==’, ‘left’]

Multiple AND conditions:
‘required’ => [[‘enable_header’, ‘==’, true], [‘header_style’, ‘!=’, ‘minimal’]]

Multiple OR conditions:
‘required’ => [‘relation’ => ‘OR’, ‘conditions’ => [[‘mode’, ‘==’, ‘simple’], [‘mode’, ‘==’, ‘expert’]]]

Array value (matches any):
‘required’ => [‘header_elements’, ‘contains’, ‘search’]

Dot-notation sub-key:
‘required’ => [‘body_typography.font-family’, ‘==’, ‘Inter’]

empty / !empty note: false and 0 are NOT considered empty — only truly absent values, empty strings, empty arrays, and null.

Sections and Subsections

Organize theme options into a hierarchical sidebar. Add sections with themeplus_add_section(), nest subsections inline via the subsections key, or attach subsections from a separate hook with themeplus_add_subsection() — the pattern for child themes and extension plugins.

Import / Export

Backup and restore all theme settings with one click. Import/Export handles JSON serialization and restores defaults cleanly.

REST API

Full REST API under the themeplus/v1 namespace — get options, save options, reset all, reset section, get configuration. All endpoints require the configured capability (default edit_theme_options) with nonce verification. Options are sanitized per field type before storage.

Developer Panel

Enable dev mode (define('THEMEPLUS_DEV', true)) to access a Developer Panel showing every registered field with its current value, PHP data type, and copy-ready code snippets for all three access patterns. Includes field statistics by type and section.

Security

  • All saved options pass through a per-field-type sanitizer (ThemePlus_Sanitizer) — unknown keys are dropped, values are validated against registered field configuration
  • REST endpoints are capability-gated with nonce verification
  • Font uploads are MIME-type and magic-byte verified
  • Output is escaped at every render point

GPL Licensed — Free Forever

ThemePlus is GPL-2.0-or-later — the same license as WordPress itself. Use it in personal projects, client work, and commercial ThemeForest themes without restriction.

External Services

This plugin can optionally connect to Google Fonts (fonts.googleapis.com) when a Typography field is configured to use a Google Font. The selected font family name is sent to Google’s servers to load the font stylesheet.

  • Google Fonts is only requested when a typography field value contains a Google Font name — it is never loaded by default
  • No personal data is sent — only font family names and subset preferences
  • Google Privacy Policy: https://policies.google.com/privacy
  • Google Fonts Terms: https://developers.google.com/fonts/terms

To avoid any Google Fonts requests entirely, use only system fonts or upload self-hosted fonts via the Custom Fonts module.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums