WP SITES

3086 Coded Tutorials & 292 Plugins

Minimum: Remove After Header Page Title & Add Widget Area

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.

page title minimum theme

  1. Remove the code which includes the page-title.php file from the themes functions.php file
  2. 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.

after header widget minimum theme

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

New Plugins