Whitelabelling and Access

Whitelabelling allows you to:

  • Change the name of the Plugin
  • Hide and prevent editing of your License Key
  • Define bespoke Documentation and Support URLs
  • Choose which Menu items to display in the WordPress Administration interface
  • Define which WordPress Users always have access to the Plugin

Purchase an Agency License

Whitelabelling and Access Control requires an Agency license and some basic knowledge of editing the wp-config.php file.

If you don’t already have a Page Generator Pro Agency License, you’ll need to purchase a new license, or upgrade an existing license.

  • To purchase a new license, visit the Page Generator Pro Page
  • To upgrade an existing license, login to your Account and click Upgrade beside your existing Page Generator Pro license
You cannot sell the Plugin to your clients, however you are free to install it on your client’s WordPress sites if you are offering paid services in conjunction with the Plugin – such as web design, web development, content generation, SEO etc.

Configure Whitelabelling

Once you have installed or updated Page Generator Pro to the latest version on a WordPress installation, you can define specific constants (settings) in WordPress’ wp-config.php file.

In your wp-config.php file, add the following lines above /* That's all, stop editing! Happy blogging. */

define( 'PAGE-GENERATOR-PRO-LICENSE_KEY', 'your license key here' );
define( 'PAGE-GENERATOR-PRO_DISPLAY_NAME', 'Your Whitelabelled Name' );
define( 'PAGE-GENERATOR-PRO_AUTHOR_NAME', 'Your Company Name' );
define( 'PAGE-GENERATOR-PRO_SUPPORT_URL', 'http://www.your-support-url.com' );
define( 'PAGE-GENERATOR-PRO_DOCUMENTATION_URL', 'http://your-documentation-url.com' );

Where a constant is specified in your wp-config.php file, it will replace the Default Value listed below.

Constant Accepted Value(s) Default Value
PAGE-GENERATOR-PRO-LICENSE_KEY
Your license key
string null
PAGE-GENERATOR-PRO_DISPLAY_NAME
The name that you want to display throughout the Plugin, replacing “Page Generator Pro”
string Page Generator Pro
PAGE-GENERATOR-PRO_AUTHOR_NAME
The author name that you want to display on the Plugins screen, replacing “WP Zinc”
string WP Zinc
PAGE-GENERATOR-PRO_SUPPORT_URL
The URL to take the user to when they click on a Support link or button
url or mailto:email@somewhere.com https://www.wpzinc.com/support
PAGE-GENERATOR-PRO_DOCUMENTATION_URL
The URL to take the user to when they click on a Documentation link or button
url or mailto:email@somewhere.com https://www.wpzinc.com/documentation/page-generator-pro
The Author Name constant, and whitelabelling on the WordPress Admin > Plugins screen, is supported in Page Generator Pro 2.2.2 or higher.

Configure Access

Access Control requires Page Generator Pro 2.1.7 or higher, releasing end of 27th June 2019.

You may also restrict access to the entire Plugin, or parts of the Plugin, in the WordPress Administration interface.

In your wp-config.php file, add the following lines above /* That's all, stop editing! Happy blogging. */

define( 'PAGE-GENERATOR-PRO_SHOW_MENU', true );
define( 'PAGE-GENERATOR-PRO_SHOW_MENU_SETTINGS', true );
define( 'PAGE-GENERATOR-PRO_SHOW_MENU_KEYWORDS', true );
define( 'PAGE-GENERATOR-PRO_SHOW_MENU_GENERATE', true );
define( 'PAGE-GENERATOR-PRO_SHOW_MENU_IMPORT_EXPORT', true );
define( 'PAGE-GENERATOR-PRO_SHOW_MENU_SUPPORT', true );
define( 'PAGE-GENERATOR-PRO_PERMITTED_USERS',false );
Constant Accepted Value(s) Default Value
PAGE-GENERATOR-PRO_SHOW_MENU
Shows or hides the Plugin from the WordPress Administration menu for all Users, except those defined in PAGE-GENERATOR-PRO_PERMITTED_USERS
true (show menu)
false (hide menu)
true
PAGE-GENERATOR-PRO_SHOW_MENU_SETTINGS
Shows or hides the Plugin’s Settings Submenu from the WordPress Administration menu for all Users, except those defined in PAGE-GENERATOR-PRO_PERMITTED_USERS
true (show menu)
false (hide menu)
true
PAGE-GENERATOR-PRO_SHOW_MENU_KEYWORDS
Shows or hides the Plugin’s Keywords Submenu from the WordPress Administration menu for all Users, except those defined in PAGE-GENERATOR-PRO_PERMITTED_USERS
true (show menu)
false (hide menu)
true
PAGE-GENERATOR-PRO_SHOW_MENU_GENERATE
Shows or hides the Plugin’s Generate Content and Generate Terms Submenus from the WordPress Administration menu for all Users, except those defined in PAGE-GENERATOR-PRO_PERMITTED_USERS
true (show menu)
false (hide menu)
true
PAGE-GENERATOR-PRO_SHOW_MENU_IMPORT_EXPORT
Shows or hides the Plugin’s Import & Export Submenu from the WordPress Administration menu for all Users, except those defined in PAGE-GENERATOR-PRO_PERMITTED_USERS
true (show menu)
false (hide menu)
true
PAGE-GENERATOR-PRO_SHOW_MENU_SUPPORT
Shows or hides the Plugin’s Support Submenu (which links to the Support URL) from the WordPress Administration menu for all Users, except those defined in PAGE-GENERATOR-PRO_PERMITTED_USERS
true (show menu)
false (hide menu)
true
PAGE-GENERATOR-PRO_PERMITTED_USERS
A comma separated list of Usernames, Email Addresses or User IDs, who will always have access to Page Generator Pro, regardless of the above settings.
Usernames or Email Addresses or User IDs false
If a setting constant is not defined, access is permitted.  For example, if PAGE-GENERATOR-PRO_SHOW_MENU_SETTINGS
is not defined, the Settings menu will always show.