Get the blog page URL set in Options

As of WordPress 4.5 you can use:

get_post_type_archive_link( 'post' );

This handles the logic of getting the correct URL regardless of whether posts show up on the homepage or in a specified page.

Leave a Comment