To display the Reign theme’s subheader while using the Elementor Page Builder, add the following code to your child theme’s functions.php file or use a code snippet plugin.
Code Snippet
Explanation
-
The code checks if the
Reign_Theme_Structureclass exists. -
It re-adds the
render_page_headeraction to ensure the theme subheader appears before the page content, even when using Elementor.
Note
For best practice, use a code snippet plugin instead of editing theme files directly. This keeps your customization safe from theme updates.
