• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2662

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

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.

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems