Browse Source

bottom nav

windhamdavid 4 years ago
parent
commit
2124e74528
1 changed files with 14 additions and 13 deletions
  1. 14 13
      archive.php

+ 14 - 13
archive.php

@@ -39,19 +39,20 @@
 				</div>
 				<div class="clear">&nbsp;</div>
 				<div class="row">
-					<div id="nav-below" class="navigation">
-						<?php
-							$archive_year = get_the_date('U');
-							$old_archive = date("Y",strtotime('-1 year', $archive_year));
-							$new_archive = date("Y",strtotime('+1 year', $archive_year));
-						?>
-						<div class="nav-previous">
-							&larr; <a href="<?php echo get_year_link( $old_archive ); ?>"><?php echo $old_archive ?></a>
-						</div>
-						<div class="nav-next">
-							<a href="<?php echo get_year_link( $new_archive ); ?>"><?php echo $new_archive ?></a> &rarr;
-						</div>
-					</div>
+          <div class="col-md-12">
+  					<div id="nav-below" class="navigation">
+  						<?php $archive_year = get_the_date('U');
+  							$old_archive = date("Y",strtotime('-1 year', $archive_year));
+  							$new_archive = date("Y",strtotime('+1 year', $archive_year));
+  						?>
+  						<div class="nav-previous">
+  							&larr; <a href="<?php echo get_year_link( $old_archive ); ?>"><?php echo $old_archive ?></a>
+  						</div>
+  						<div class="nav-next">
+  							<a href="<?php echo get_year_link( $new_archive ); ?>"><?php echo $new_archive ?></a> &rarr;
+  						</div>
+  					</div>
+          </div>
 				</div>
 			</div>
 		</div>