After ending The Loop, I simply have:
echo paginate_links(array(
'mid_size' => 3,
'prev_text' => __( 'Previous posts' ),
'next_text' => __( 'Next posts' )
));
However, pagination is displayed only when the number of pages is greater than 1. In other words, if I have 1 post and in the Wordpress dashboard set "Settings -> Reading -> Blog pages show at most 1 post" then pagination isn't displayed, if I add a posts, it will be. If I then increase the dashboard setting to 2, the pagination disappears again.
You may wonder what pagination I would expect to see if I have only one page. I would expect to see the current page displayed, i.e. 1. Not having this spoils my page layout.
Is this behaviour normal? It seems odd that it would be, given that category pages for new categories with only a single post therefore show no pagination.
If this behaviour is normal, how do I figure out that there is only one page to display so that I can insert a current page 1 into my page to fix my layout?