From cb46e059890daf6731b5a360b4a54257b8b80cc7 Mon Sep 17 00:00:00 2001 From: Daniel Pett Date: Sat, 28 Oct 2017 11:39:38 +0100 Subject: [PATCH] Amend front page --- micropasts/front-page.php | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/micropasts/front-page.php b/micropasts/front-page.php index df26260..cd8ad3c 100644 --- a/micropasts/front-page.php +++ b/micropasts/front-page.php @@ -5,7 +5,7 @@
-
+ + + ID; +} + +$current = array_search( get_the_ID(), $posts ); +$prevID = $posts[$current-1]; +$nextID = $posts[$current+1]; +?> + +
- \ No newline at end of file +