How can I generate last post permalink?
I have the link to last past “Latest” in my menu. This is its underlying code:
<li><a href="<?php bloginfo('url');?>"><?php _e('Latest'); ?></a></li>
This only works when My front page is set to display last post.
I want to display static page as front page and keep the “Latest” link functional. How can I generate the last post permalink?