We all know how to White Label Astra? It is also known that the white label settings page can be hidden from the dashboard. However, it reappears when the plugin is re-activated on the website.
We were asked whether these white label settings can be hidden permanently. Especially agencies who serve many clients would not want them to know that the plugin or theme used to build their website is a third party white labeled plugin.
Therefore, we』ve introduced a method that will allow you to White Label the Astra and hide the White Label settings – and keep them hidden, no matter what activity the user performs with the plugin or on the website. This means that you can white label the Astra permanently from the wp-config.php file and these settings will not be changed from the WordPress dashboard settings.
To achieve the above scenario we have added a White Label Constants to Astra. Along with Astra theme and Astra Pro plugin, you get contact for Astra related plugins as well.
Below is the list for the White Label Settings and their respective White Label Constants
# Astra Theme and Astra Pro Plugin
White Label Settings
White Label Constants
Agency Author Name
AST_WL_ASTRA_AGENCY_AUTHOR
Agency Author URL
AST_WL_ASTRA_AGENCY_AUTHOR_URL
Agency License URL
AST_WL_ASTRA_AGENCY_LICENCE
Astra Theme Name
AST_WL_ASTRA_NAME
Astra Theme Description
AST_WL_ASTRA_DESCRIPTION
Astra Theme Screenshot
AST_WL_ASTRA_SCREENSHOT
Astra Pro Name
AST_WL_ASTRA_PRO_NAME
Astra Pro Description
AST_WL_ASTRA_PRO_DESCRIPTION
# Starter Templates plugin or Astra Premium Sites plugin (available with Astra Essential Bundle and Growth Bundle)
White Label Settings
White Label Constants
Astra Sites Name
AST_WL_ASTRA_SITES_NAME
Astra Sites Description
AST_WL_ASTRA_SITES_DESCRIPTION
# Lightweight Sidebar Manager Plugin
White Label Settings
White Label Constants
Sidebar Manager Name
AST_WL_BSF_LW_SB_NAME
Sidebar Manager Description
AST_WL_BSF_LW_SB_DESCRIPTION
# Astra Hooks Plugin
White Label Settings
White Label Constants
Astra Hooks Name
AST_WL_ASTRA_HOOKS_DESCRIPTION
Astra Hooks Description
WP_UAEL_WL
# Custom Fonts Plugin
White Label Settings
White Label Constants
Custom Fonts Name
AST_WL_BSF_CUSTOM_FONTS_NAME
Custom Fonts Description
AST_WL_BSF_CUSTOM_FONTS_DESCRIPTION
# Adobe Fonts (Custom Typekit Fonts)
White Label Settings
White Label Constants
Adobe Fonts Name
AST_WL_CUSTOM_TYPEKIT_FONTS_NAME
Adobe Fonts Description
AST_WL_CUSTOM_TYPEKIT_FONTS_DESCRIPTION
How to use White Label Constants?
Step 1 – Open and edit the wp-config.php file.Step 2 – Find the line /* That』s all, stop editing! Happy blogging. */ and add White Label Constants code just before this line.Step 3 – Below is the sample code for the White Label Constants. You can update the strings as per your requirement.
define( 'AST_WL_ASTRA_AGENCY_AUTHOR', 'Agency Author' );
define( 'AST_WL_ASTRA_AGENCY_AUTHOR_URL', 'www.your-website-url.com' );
define( 'AST_WL_ASTRA_AGENCY_LICENCE', 'www.your-get-licence-url.com' );
define( 'AST_WL_ASTRA_NAME', 'Fastest WP Theme' );
define( 'AST_WL_ASTRA_DESCRIPTION', 'WordPress theme' );
define( 'AST_WL_ASTRA_SCREENSHOT', 'www.your-theme-screenshot-url.com' );
define( 'AST_WL_ASTRA_PRO_NAME', 'Pro Addon' );
define( 'AST_WL_ASTRA_PRO_DESCRIPTION', 'Pro Addon extends the features of theme' );
define( 'AST_WL_ASTRA_SITES_NAME', 'Ready Sites' );
define( 'AST_WL_ASTRA_SITES_DESCRIPTION', 'Library of Ready sites' );
define( 'AST_WL_BSF_LW_SB_NAME', 'Custom Sidebar Manager' );
define( 'AST_WL_BSF_LW_SB_DESCRIPTION', 'Manage your Sidebar' );
define( 'AST_WL_ASTRA_HOOKS_NAME', 'Hooks for theme' );
define( 'AST_WL_ASTRA_HOOKS_DESCRIPTION', 'Use hooks to put custom code' );
define( 'AST_WL_BSF_CUSTOM_FONTS_NAME', 'My Custom Fonts' );
define( 'AST_WL_BSF_CUSTOM_FONTS_DESCRIPTION', 'Add custom fonts' );
define( 'AST_WL_CUSTOM_TYPEKIT_FONTS_NAME', 'My fonts' );
define( 'AST_WL_CUSTOM_TYPEKIT_FONTS_DESCRIPTION', 'Add custom typekit font' );