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

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: wp-config.php

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

Configure Whitelabelling: WP Zinc Account

To configure Whitelabelling remotely:

  1. Login to your account at https://www.wpzinc.com/account
  2. Click on the License Keys tab
  3. Click the Manage button beside the Page Generator Pro Agency License

The following options are then displayed:

Setting Accepted Value(s) Default Value
Enable Whitelabelling and Access Control
Must be enabled for other settings to take effect.
boolean false
Product Display Name
The name that you want to display throughout the Plugin, replacing “Page Generator Pro”
string Page Generator Pro
Author Name
The author name that you want to display on the Plugins screen, replacing “WP Zinc”
string WP Zinc
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
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

Click Save Changes when done.

Configure Access: wp-config.php

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.

Configure Access Control: WP Zinc Account

To configure Access Control remotely:

  1. Login to your account at https://www.wpzinc.com/account
  2. Click on the License Keys tab
  3. Click the Manage button beside the Page Generator Pro Agency License

The following options are then displayed:

Setting Accepted Value(s) Default Value
Show Main Menu
Must be enabled for other settings to take effect.
boolean true
Show Sub Menus
Define the Product Submenus that Users have access to.
If “Show Main Menu” is disabled, no Sub Menus will display.
One value per line.
settings
keywords
generate
import-export
support
null
Permitted Users
Define any WordPress Users who will always have access to all of the Product, regardless of any other Access Control settings.
IDs, Usernames and Email Addresses are accepted.
One value per line.
string null

Click Save Changes when done.

When setting Access Control remotely, changes can take up to 24 hours to propagate. To force an update after saving, visit Dashboard > Updates on the WordPress site(s) the Product is installed on.
Constants defined in wp-config.