Skip to content

White-Label

Rebrand the ThemePlus options panel with your own theme or agency identity.

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

KeyTypeDefaultDescription
namestring'ThemePlus'Panel name shown in the header and page title
logostringThemePlus logo URLURL to your custom logo image — SVG or PNG recommended
logo_widthint130Logo display width in pixels
logo_heightint36Logo display height in pixels
hide_footerboolfalseHide 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

FormatRecommendation
SVGBest choice — scales crisp at any resolution, small file size
PNGUse a transparent background, minimum 2× the display size for retina screens
SizeKeep display width between 80–160px for a balanced panel header
ColorUse 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_title value
  • Admin menu entry — menu label updated to your menu_title value
  • Footer credit line — hidden when hide_footer is true

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 whatever opt_name you define, completely independent of the branding.
  • The logo URL must be an absolute URL — always use get_template_directory_uri() rather than a relative path.
  • If no logo is provided, the panel header displays your name as 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_.

On This Page