I am looking to add a button in the single post page that will allow the reader to easily get back to the beginning of the blog or blog page blog archive page with one click. This tutorial I will show you how to add a button for back in the blog page from single blog page in WordPress. It is very easy way just follow our instruction. First you crate a page name BLOG then you assign to this page a blog page from Setting >> Reading option. Then open your single.php file & paste our below code where you want to show.
Back to Blog page button php code
<?php echo ‘<a href=”‘.esc_url( home_url( ‘/blog’ ) ).'”>’.esc_html__( ‘Blog’, ‘textdomain’ ).'</a>’; ?>