Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
//* Do NOT include the opening php tag
//* Modify the header URL
add_filter('genesis_seo_title', 'sp_seo_title', 10, 3);
function sp_seo_title($title, $inside, $wrap) {
$inside = sprintf( '<a href="http://www.yourdomain.com" title="%s">%s</a>', esc_attr( get_bloginfo('name') ), get_bloginfo('name') );
$title = sprintf('<%s id="title">%s</%s>', $wrap, $inside, $wrap);
return $title;
}
<?php
//* Do NOT include the opening php tag
//* Remove the site description
remove_action( 'genesis_site_description', 'genesis_seo_site_description' );
<?php
//* Do NOT include the opening php tag
//* Remove the site title
remove_action( 'genesis_site_title', 'genesis_seo_site_title' );
<?php
//* Do NOT include the opening php tag
//* Remove the header right widget area
unregister_sidebar( 'header-right' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment