Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
generate_header_items() has been simplified so you can easily change the order or elements in the header
if ( ! function_exists( 'generate_header_items' ) ) :
* Build the header
* Wrapping this into a function allows us to customize the order
* @since
function generate_header_items()
// Header widget
// Site title and tagline
// Site logo
Copy link

fyrmanrob commented Jul 13, 2016

Where is the 'generate_header_items' function located? I am trying to add two more images to the header via a function.

Copy link

olegi4sam commented Feb 23, 2017

In wp-content/themes/generatepress/inc/template-tags.php

Copy link

pookywiss commented Jun 13, 2019

Now in wp-content/themes/generatepress/inc/structure/header.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment