White Label Constants to Change Strings Permanently

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

# Astra Starter Sites plugin or Astra Premium Sites plugin (available with Astra Mini Agency and Agency Package)

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.

Not the solution you are looking for? Check other articles, or open a support ticket.