Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
/* Customize the author box title
add_filter( 'genesis_author_box_title', 'custom_author_box_title' );
function custom_author_box_title() {
return 'About the Author';
}
<?php
//* Customize the author box title
add_filter( 'genesis_author_box_title', 'vmf_custom_author_box_title' );
function vmf_custom_author_box_title() {
if ( is_single() ) {
$author = get_the_author();
$author_link = '' . $author . '';
return 'About ' . $author_link . '';
} else {
$author = get_the_author();
return 'About ' . $author . '';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment