forked from TamaraShopsin/OpenCounterWP
-
Notifications
You must be signed in to change notification settings - Fork 1
/
lastpage.php
46 lines (32 loc) · 1.15 KB
/
lastpage.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php /* Template Name: lastpage
*/ ?>
<?php
/**
* @package WordPress
* @subpackage Default_Theme
*/
get_header(); ?>
<div id="header3">
<a href="<?php echo get_settings('home'); ?>">
<canvas id="clockcanvas" width="50" height="50"></canvas>
</a>
</div>
<div id="content" class="narrowcolumn" role="main">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="entry">
<?php the_content('<p class="serif">' . __('Read the rest of this page »', 'kubrick') . '</p>'); ?>
<?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'kubrick') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
<div class="navigation">
<div class="alignleft">
<?php previous_post('%', '', 'yes'); ?>
</div>
</div>
<?php endwhile; endif; ?>
<?php edit_post_link(__('Edit this entry.', 'kubrick'), '<p>', '</p>'); ?>
</div>
<div class="progbar">
<?php echo get_post_meta($post->ID, 'percent', 1); ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>