Browse Source

next/Previous blocks on single page

Maggie Cabrera 4 years ago
parent
commit
7cd6a6e500
1 changed files with 10 additions and 0 deletions
  1. 10 0
      mayland-blocks/block-templates/single.html

+ 10 - 0
mayland-blocks/block-templates/single.html

@@ -26,6 +26,16 @@
 
 <!-- wp:post-author {"showAvatar":false,"showBio":true,"byline":"Published by","fontSize":"huge"} /-->
 
+<!-- wp:columns -->
+<div class="wp-block-columns"><!-- wp:column -->
+<div class="wp-block-column"><!-- wp:post-navigation-link {"type":"previous","label":"Previous Post","showTitle":true} /--></div>
+<!-- /wp:column -->
+
+<!-- wp:column -->
+<div class="wp-block-column"><!-- wp:post-navigation-link {"textAlign":"right","label":"Next Post"} /--></div>
+<!-- /wp:column --></div>
+<!-- /wp:columns -->
+
 <!-- wp:spacer {"height":32} -->
 <div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div>
 <!-- /wp:spacer -->