This tutorial relates to the old Minimum theme which uses XHTML markup.
There’s 2 simple steps you need to take if you want to remove the page title (after header tagline area with subscribe button) and replace it with a widget area.
- Remove the code which includes the page-title.php file from the themes functions.php file
- Add the new widget code to the themes functions.php file
1. Remove Page Title File
Remove this PHP code from Line 80 of your child themes functions.php file.
/** Add the page title section */
add_action( 'genesis_after_header', 'minimum_page_title' );
function minimum_page_title() {
require_once( get_stylesheet_directory() . '/page-title.php' );
}
2. Add New Widget Code
Please copy ALL the code from the view raw link in this Gist and paste it at the end of your child themes functions.php file using a text editor like Notepad++
Here’s an example of the new after header widget area populated with a calender widget purely as an example.
Note: This solution only works on the old Minimum theme running XHTML markup and will not work unmodified on the new Minimum Pro theme.
Leave a Reply