<?php
$args = array( 'numberposts' => '1' );
$recent_posts = wp_get_recent_posts( $args );
foreach( $recent_posts as $recent ){
echo '<h1><a href="' . get_permalink($recent["ID"]) .'">' .$recent["post_title"].'</a> </h1> ';
}
?>
I added this code for getting just single latest post on desired page.
How can I add next and previous button of posts to it?