- Getting Started With Starter Templates
- Install Starter Templates
- Premium Starter Templates – Install and Activate License
- Building Your Website With Starter Templates
- How to import Starter Templates with WP CLI Command
- Starter Templates — FAQs and Basics
- Understanding Starter Templates Compatibility Across Themes
- Starter Templates – Patterns
- Why You Need to Connect Starter Templates with ZipWP AI Website Builder
- Create Multilingual WordPress Websites with Starter Templates
- Getting Started With Starter Templates
- Starter Templates Importing
- How to Import A Complete Site With Starter Templates?
- How to Import Single Page With Starter Templates?
- Importing Gutenberg Pages, Patterns, and Kits
- Starter Templates – Elementor Popup
- How to Fix Starter Template Importing Issues
- Building Your Website With Starter Templates
- Starter Templates FAQs
- How to Import A Complete Site With Starter Templates?
- How to Import Single Page With Starter Templates?
- Can I Import Starter Templates Site on Existing Website?
- Importing Gutenberg Pages, Patterns, and Kits
- How to Fix Starter Template Importing Issues
- How to Fix Operation Timed Error While Importing a Starter Template?
- How to Fix Blocked Requests Error While Importing a Starter Template?
- How to Fix 5XX Error While Importing a Starter Template?
- Starter Templates Importing
- How to import Starter Templates with WP CLI Command
- Starter Templates – Free Images from Pixabay
- Starter Templates – Restore Customizer Backup
- Mountain Template With Elementor Theme Style
- Filter to Remove Starter Templates Button on Post Types
- How to Enable/Disable Elementor While Importing Starter Templates
- How to Set Block Editor as the Default Page Builder In Starter Templates
- How to Set Up Your E-Commerce Store With Starter Templates
- How to Enable Single Page Import Button with White Label
- How to Process Refund Requests?
- How To Reset WordPress Installation?
- XMLReader Support Missing – Starter Templates
- cURL Support Missing – Starter Templates
- Required File Permissions Missing – Starter Templates
- Disable Debug Mode – Starter Templates
- Update Required Plugins – Starter Templates
- Starter Templates — FAQs and Basics
- Starter Templates – Required plugins missing
- Plugin Installation Failed – Multisite
- System Requirements – Starter Templates
How to Enable Single Page Import Button with White Label
This document addresses an issue with the Single Page Import Button disappearing within Starter Templates when Astra’s white label functionality is enabled.
Issue: Following the introduction of the “All new AI-based Template Kit library” in Starter Templates v3.5.0, the Single Page Import Button functionality was unintentionally affected by Astra’s white labeling for starter templates. This resulted in the button disappearing when white labeling was active.
Cause: The white label condition was not implemented for the updated Single Page Import Button within Starter Templates v3.5.0. While an older button in a similar location functions correctly with white labeling, the newer button was unintentionally impacted.
Solution: To resolve this issue and ensure the Single Page Import Button functions with Astra’s white labeling for Starter Templates, you can implement the following code snippet:
add_filter( 'ast_block_templates_white_label', '__return_false', 999 );
In this video, you’ll see the Single Page Import Button reappear after adding the code snippet to functions.php. However, since Astra’s white labeling for Starter Templates is configured as “testing”, the button displays the label “Testing” instead of the usual “Template Kits.”
Thus by implementing the provided code snippet, you can restore the functionality of the Single Page Import Button within Starter Templates, which allows you to import templates seamlessly even with Astra’s white labeling active.
We hope this document has been helpful.
If you encounter any challenges or have further questions about adding the code snippet, feel free to leave your comment below or reach out to our support team. We will be happy to assist you.
We don't respond to the article feedback, we use it to improve our support content.