Are you experiencing issues with site builder rendering incorrectly in Beaver Builder when using the Astra theme?
Adding the following filter to your child theme’s functions.php file might solve the problem.
add_filter( 'astra_addon_bb_render_content_by_id', '__return_true' );
Important:
Always backup your site before making such changes, and test thoroughly to ensure it resolves the issue without causing any unintended outcomes.
Here’s a breakdown of what this filter does and how it might help:
1. Sometimes, Beaver Builder might not render site builders correctly due to conflicts or specific handling by themes. This filter attempts to bypass any potential issues by instructing Beaver Builder to render content by its ID, which might resolve layout rendering issues.
2. This filter, astra_addon_bb_render_content_by_id
, is specific to the Astra theme and Beaver Builder integration. It likely adjusts how content is rendered within Beaver Builder.
3. Filter Action: __return_true()
is a WordPress function that simply returns true
. By adding this filter, you’re essentially telling Beaver Builder to render content by its ID.
Note: You can learn more about adding PHP code to your child theme’s functions.php file by clicking here.
For any questions, feel free to reach out to us!