I have made a page template for a Genesis theme in which I want to change the <title> tag but I can’t find any API reference or example to do this.

Does anyone have any idea how to do this?

3 Answers
3

Try

add_filter('wp_title', 'my_custom_title');
function my_custom_title($title) {
    return 'My Custom Title';
}

Check genesis/lib/structure/header.php to see how Genesis does it.

Leave a Reply

Your email address will not be published. Required fields are marked *