WordPress get_bloginfo() Get site url


Example

<?php echo esc_url(get_bloginfo('url')); ?>

or if you needed to link to a sub page

<?php echo esc_url(get_bloginfo('url') . '/some-sub-page');  ?>