Overview
ThemePlus includes full white-label support — you can replace every visible reference to “ThemePlus” in the admin panel with your own theme name, logo, and branding. This is useful for commercial themes sold on ThemeForest, agency-built client themes, or any product where you want a seamless branded experience rather than exposing the underlying framework.
White-label configuration is set inside the themeplus_init() call using the branding key.
Configuration
Pass a branding array to themeplus_init() in your theme’s functions.php:
php
themeplus_init([
'opt_name' => 'mytheme_options',
'menu_title' => __('Theme Options', 'your-textdomain'),
'page_title' => __('Theme Options', 'your-textdomain'),
'branding' => [
'name' => __('Nijhum Options', 'your-textdomain'),
'logo' => get_template_directory_uri() . '/assets/images/admin-logo.svg',
'logo_width' => 120,
'logo_height' => 32,
'hide_footer' => true,
],
]);
Branding Options
| Key | Type | Default | Description |
|---|---|---|---|
name | string | 'ThemePlus' | Panel name shown in the header and page title |
logo | string | ThemePlus logo URL | URL to your custom logo image — SVG or PNG recommended |
logo_width | int | 130 | Logo display width in pixels |
logo_height | int | 36 | Logo display height in pixels |
hide_footer | bool | false | Hide the ThemePlus footer credit line when true |
Usage Examples
Minimal — name only
Replace the panel name without changing the logo:
php
themeplus_init([
'opt_name' => 'mytheme_options',
'menu_title' => __('Theme Options', 'your-textdomain'),
'page_title' => __('Theme Options', 'your-textdomain'),
'branding' => [
'name' => __('Nijhum Theme Options', 'your-textdomain'),
],
]);
Full white-label — name, logo, and footer removed
php
themeplus_init([
'opt_name' => 'nijhum_options',
'menu_title' => __('Nijhum Options', 'your-textdomain'),
'page_title' => __('Nijhum Theme Options', 'your-textdomain'),
'branding' => [
'name' => __('Nijhum Options', 'your-textdomain'),
'logo' => get_template_directory_uri() . '/assets/images/admin-logo.svg',
'logo_width' => 120,
'logo_height' => 32,
'hide_footer' => true,
],
]);
Agency client theme
php
themeplus_init([
'opt_name' => 'clienttheme_options',
'menu_title' => __('Site Options', 'clienttheme'),
'page_title' => __('Site Options', 'clienttheme'),
'branding' => [
'name' => __('Site Options', 'clienttheme'),
'logo' => get_template_directory_uri() . '/assets/images/client-logo.png',
'logo_width' => 100,
'logo_height' => 28,
'hide_footer' => true,
],
]);
Logo Recommendations
| Format | Recommendation |
|---|---|
| SVG | Best choice — scales crisp at any resolution, small file size |
| PNG | Use a transparent background, minimum 2× the display size for retina screens |
| Size | Keep display width between 80–160px for a balanced panel header |
| Color | Use a version of your logo that works on a white or light gray background |
Store your admin logo in a dedicated path such as assets/images/admin-logo.svg inside your theme folder and reference it with get_template_directory_uri().
What Gets Rebranded
When branding is configured, the following panel elements are updated:
- Panel header — ThemePlus logo replaced with your logo and name
- Browser tab title — page title updated to your
page_titlevalue - Admin menu entry — menu label updated to your
menu_titlevalue - Footer credit line — hidden when
hide_footeristrue
The underlying framework, field behavior, and all functionality remain unchanged — only the visible branding is replaced.
Notes
- White-label configuration does not affect the
opt_name— option values are still stored under whateveropt_nameyou define, completely independent of the branding. - The
logoURL must be an absolute URL — always useget_template_directory_uri()rather than a relative path. - If no
logois provided, the panel header displays yournameas text in place of the ThemePlus logo. - White-label support applies to the options panel UI only — it does not rename PHP functions, filter names, or action hooks. All ThemePlus PHP APIs remain prefixed with
themeplus_.