If the theme author is using bloginfo('url')
to output the url, then you can do the following.
bloginfo('url')
is a wrapper for echo get_bloginfo('url')
which is a wrapper for home_url()
which in turn is a wrapper for get_home_url()
. The code for that function is available here.
As can be seen, there is a filter available at the end of the function that you can use to change the value of the home url.
Edited so that the filters only fire for the home_url and custom_logo filters are both called.
add_filter( 'home_url', 'wpse_106269_home_url', 10, 4 );
function wpse_106269_home_url( $url, $path, $orig_scheme, $blog_id ) {
add_filter( 'custom_logo', 'wpse_106269_custom_logo', 10, 2 );
}
function wpse_106269_custom_logo( $html, $blog_id ) {
//* Remove the filter
remove_filter( 'custom_logo', 'wpse_106269_custom_logo', 10, 2 );
//* Use str_replace() to change link
return str_replace( $old_url, $new_url, $html );
}