If you wish to eliminate the page builder selection screen and set the Block Editor as the default while using Starter Templates, this article is just for you.
This screen is visible while importing classic starter templates.
Here’s how you can remove it:
How to Remove the Page Builder Selector Screen from Starter Templates
To remove the page builder selection screen, you’ll need to add the following code to your child theme’s funciones.php archivo.
Nota: It’s advisable to edit the funciones.php file within the tema infantil rather than directly in the parent theme.
add_filter( 'st_enable_block_page_builder', '__return_true' );
You can add this code by any one of the following methods:
Adding Code Directly to Your functions.php File
- Vaya a Apariencia > Editor de temas > funciones.php and paste the above code at the end.
- Haga clic en el botón Actualizar archivo button to save this change.
Consulte este article for guidance on adding custom code to your WordPress sites.
Adding the Code Using Code Snippet Plugins
If you don’t want to tamper with your funciones.php file directly, consider using free plugins like Fragmentos de código to add the above filter.
For example, here’s how you can add the same code using the Code Snippets plugin:
- Install and activate your preferred code snippet plugin. In our case, it is Fragmentos de código.
- Vaya a Snippets > Añadir nuevo and add the above code to this section. Optionally, give this snippet a name and description.
- Haga clic en el botón Save Changes and Activate button once done.
The page builder selection screen will be removed from Starter Templates now!
Previewing Your Changes
Let us verify whether the page builder selection is actually removed or not:
Vaya a Plugins > Plugins instalados and click on the “Get Started” option under your Starter Templates plugin.
The page builder screen isn’t visible anymore and Block Editor is set as the default page builder automatically!
That’s it! We hope this article helps you. For any further assistance, please reach out to our support team. We’re always here to help.