tempate nav code changes and cleanups
This commit is contained in:
parent
ba387cd1c2
commit
90aa7c111a
@ -120,11 +120,12 @@ $month['12'] = array('month' => 'December', 'days' => '31');
|
|||||||
|
|
||||||
<div class="post-page-head"></div>
|
<div class="post-page-head"></div>
|
||||||
<div class="post-page">
|
<div class="post-page">
|
||||||
<?php while (have_posts()) { the_post(); ?>
|
<?php while (have_posts()) : the_post() ?>
|
||||||
<h2 class="pagetitle"><span class="archive-year"><?php echo $archive_year ?></span> <?php the_title() ?></h2>
|
<div class="entry">
|
||||||
|
<h2 class="pagetitle"><span class="archive-year"><?php echo $archive_year; ?></span> <?php the_title() ?></h2>
|
||||||
<div class="entry"><?php the_content() ?></div>
|
<?php the_content(); ?>
|
||||||
<?php } ?>
|
</div>
|
||||||
|
<?php endwhile; ?>
|
||||||
|
|
||||||
<div class="archive-yearlist">|
|
<div class="archive-yearlist">|
|
||||||
<?php $years = $wpdb->get_col("SELECT DISTINCT YEAR(post_date) FROM $wpdb->posts WHERE post_status = 'publish' ORDER BY post_date ASC");
|
<?php $years = $wpdb->get_col("SELECT DISTINCT YEAR(post_date) FROM $wpdb->posts WHERE post_status = 'publish' ORDER BY post_date ASC");
|
||||||
|
@ -64,11 +64,12 @@ Template Name: Comic Storyline Archive
|
|||||||
<div id="content" class="narrowcolumn">
|
<div id="content" class="narrowcolumn">
|
||||||
|
|
||||||
<div class="post-page-head"></div>
|
<div class="post-page-head"></div>
|
||||||
<div class="post-page">
|
<?php while (have_posts()) : the_post() ?>
|
||||||
<h2 class="pagetitle"><?php the_title() ?></h2>
|
|
||||||
<div class="entry">
|
<div class="entry">
|
||||||
<?php while (have_posts()) : the_post(); the_content(); endwhile; ?>
|
<h2 class="pagetitle"><?php the_title() ?></h2>
|
||||||
|
<?php the_content(); ?>
|
||||||
</div>
|
</div>
|
||||||
|
<?php endwhile; ?>
|
||||||
<ul id="storyline" class="level-0">
|
<ul id="storyline" class="level-0">
|
||||||
<?php if (get_option('comicpress-enable-storyline-support') == 1) {
|
<?php if (get_option('comicpress-enable-storyline-support') == 1) {
|
||||||
if (($result = get_option("comicpress-storyline-category-order")) !== false) {
|
if (($result = get_option("comicpress-storyline-category-order")) !== false) {
|
||||||
|
@ -35,6 +35,12 @@
|
|||||||
<div class="post-comic-head"></div>
|
<div class="post-comic-head"></div>
|
||||||
<div class="post-comic">
|
<div class="post-comic">
|
||||||
<div class="comicarchiveframe" style="width:<?php echo $archive_comic_width; ?>px;">
|
<div class="comicarchiveframe" style="width:<?php echo $archive_comic_width; ?>px;">
|
||||||
|
<div class="comicdate">
|
||||||
|
<div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
|
||||||
|
</div>
|
||||||
|
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||||
|
By <?php the_author(); ?> on <?php the_time('F jS, Y') ?> <?php edit_post_link('[edit this]'); ?> <br />
|
||||||
|
Posted in: <?php the_category(','); ?>
|
||||||
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="<?php the_title() ?>" title="Click for full size." width="<?php echo $archive_comic_width ?>" /><br />
|
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="<?php the_title() ?>" title="Click for full size." width="<?php echo $archive_comic_width ?>" /><br />
|
||||||
<h3><?php the_title() ?></h3>
|
<h3><?php the_title() ?></h3>
|
||||||
<small><?php the_time('F jS, Y') ?></small></a>
|
<small><?php the_time('F jS, Y') ?></small></a>
|
||||||
|
132
comments.php
132
comments.php
@ -1,93 +1,97 @@
|
|||||||
<div id="content" class="narrowcolumn">
|
<div class="comment-wrap">
|
||||||
<div class="comment-wrap">
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
|
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
|
||||||
die ('Please do not load this page directly. Thanks!');
|
die ('Please do not load this page directly. Thanks!');
|
||||||
|
|
||||||
if ( post_password_required() ) { ?>
|
if ( post_password_required() ) { ?>
|
||||||
<p class="nocomments">This post is password protected. Enter the password to view comments.</p>
|
<p class="nocomments">This post is password protected. Enter the password to view comments.</p>
|
||||||
<?php
|
<?php
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( have_comments() ) : ?>
|
if ( have_comments() ) : ?>
|
||||||
|
|
||||||
<h3 id="comments"><?php comments_number('Discussion¬', 'Discussion¬', 'Discussion (%)¬' );?></h3>
|
<h3 id="comments"><?php comments_number('Discussion¬', 'Discussion¬', 'Discussion (%)¬' );?></h3>
|
||||||
|
|
||||||
<ol class="commentlist">
|
<ol class="commentlist">
|
||||||
<?php wp_list_comments(array('avatar_size'=>64)); ?>
|
<?php wp_list_comments(array(
|
||||||
|
'type' => 'all',
|
||||||
|
'callback' => 'comicpress_comments_callback',
|
||||||
|
'end-callback' => 'comicpress_comments_end_callback',
|
||||||
|
'avatar_size'=>64
|
||||||
|
)
|
||||||
|
); ?>
|
||||||
</ol>
|
</ol>
|
||||||
<div class="pagenav">
|
<div class="pagenav">
|
||||||
<div class="pagenav-right"><?php next_comments_link('Newer Comments ↑') ?></div>
|
<div class="pagenav-right"><?php next_comments_link('Newer Comments ↑') ?></div>
|
||||||
<div class="pagenav-left"><?php previous_comments_link('↓ Previous Comments') ?></div>
|
<div class="pagenav-left"><?php previous_comments_link('↓ Previous Comments') ?></div>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
</div>
|
</div>
|
||||||
<?php else : // this is displayed if there are no comments so far ?>
|
<?php else : // this is displayed if there are no comments so far ?>
|
||||||
|
|
||||||
<?php if ('open' == $post->comment_status) : ?>
|
<?php if ('open' == $post->comment_status) : ?>
|
||||||
<!-- If comments are open, but there are no comments. -->
|
<!-- If comments are open, but there are no comments. -->
|
||||||
|
|
||||||
<?php else : // comments are closed ?>
|
<?php else : // comments are closed ?>
|
||||||
<!-- If comments are closed. -->
|
<!-- If comments are closed. -->
|
||||||
<p class="nocomments">Comments are closed.</p>
|
<p class="nocomments">Comments are closed.</p>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
|
||||||
<?php if ('open' == $post->comment_status) : ?>
|
<?php if ('open' == $post->comment_status) : ?>
|
||||||
|
|
||||||
<div id="respond">
|
<div id="respond">
|
||||||
|
|
||||||
<h3><?php comment_form_title( 'Comment¬', 'Reply to %s¬' ); ?></h3>
|
<h3><?php comment_form_title( 'Comment¬', 'Reply to %s¬' ); ?></h3>
|
||||||
|
|
||||||
|
<div class="cancel-comment-reply">
|
||||||
|
<small><?php cancel_comment_reply_link(); ?></small>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
|
||||||
|
<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p>
|
||||||
|
<?php else : ?>
|
||||||
|
|
||||||
|
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
|
||||||
|
|
||||||
|
<?php if ( $user_ID ) : ?>
|
||||||
|
|
||||||
|
<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out »</a></p>
|
||||||
|
|
||||||
|
<?php else : ?>
|
||||||
|
|
||||||
|
|
||||||
|
<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
|
||||||
|
<label for="author"><small>NAME — <a href="http://gravatar.com">Get an avatar</a></small></label></p>
|
||||||
|
|
||||||
|
<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
|
||||||
|
<label for="email"><small>EMAIL <?php if ($req) echo "— Required / not published"; ?> </small></label></p>
|
||||||
|
|
||||||
|
<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
|
||||||
|
<label for="url"><small>WEBSITE</small></label></p>
|
||||||
|
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<!--<p><small><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></small></p>-->
|
||||||
|
|
||||||
|
<p><textarea name="comment" id="comment" cols="50" rows="5" tabindex="4"></textarea></p>
|
||||||
|
|
||||||
|
<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
|
||||||
|
<?php comment_id_fields(); ?>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="clear"></div>
|
||||||
|
|
||||||
|
<?php do_action('comment_form', $post->ID); ?>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<?php endif; // If registration required and not logged in ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
<div class="cancel-comment-reply">
|
|
||||||
<small><?php cancel_comment_reply_link(); ?></small>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
|
|
||||||
<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p>
|
|
||||||
<?php else : ?>
|
|
||||||
|
|
||||||
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
|
|
||||||
|
|
||||||
<?php if ( $user_ID ) : ?>
|
|
||||||
|
|
||||||
<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out »</a></p>
|
|
||||||
|
|
||||||
<?php else : ?>
|
|
||||||
|
|
||||||
|
|
||||||
<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
|
|
||||||
<label for="author"><small>NAME — <a href="http://gravatar.com">Get an avatar</a></small></label></p>
|
|
||||||
|
|
||||||
<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
|
|
||||||
<label for="email"><small>EMAIL <?php if ($req) echo "— Required / not published"; ?> </small></label></p>
|
|
||||||
|
|
||||||
<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
|
|
||||||
<label for="url"><small>WEBSITE</small></label></p>
|
|
||||||
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<!--<p><small><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></small></p>-->
|
|
||||||
|
|
||||||
<p><textarea name="comment" id="comment" cols="50" rows="5" tabindex="4"></textarea></p>
|
|
||||||
|
|
||||||
<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
|
|
||||||
<?php comment_id_fields(); ?>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div class="clear"></div>
|
|
||||||
|
|
||||||
<?php do_action('comment_form', $post->ID); ?>
|
|
||||||
|
|
||||||
</form>
|
|
||||||
|
|
||||||
<?php endif; // If registration required and not logged in ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
@ -22,6 +22,7 @@
|
|||||||
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name') ?> Atom Feed" href="<?php bloginfo('atom_url') ?>" />
|
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name') ?> Atom Feed" href="<?php bloginfo('atom_url') ?>" />
|
||||||
<link rel="pingback" href="<?php bloginfo('pingback_url') ?>" />
|
<link rel="pingback" href="<?php bloginfo('pingback_url') ?>" />
|
||||||
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/scroll.js"></script>
|
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/scroll.js"></script>
|
||||||
|
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
|
||||||
<?php wp_head() ?>
|
<?php wp_head() ?>
|
||||||
<!--[if lt IE 7]><script type="text/javascript" src="<?php bloginfo('template_directory') ?>/js/ie6submenus.js"></script><![endif]-->
|
<!--[if lt IE 7]><script type="text/javascript" src="<?php bloginfo('template_directory') ?>/js/ie6submenus.js"></script><![endif]-->
|
||||||
</head>
|
</head>
|
||||||
|
29
index.php
29
index.php
@ -9,6 +9,7 @@
|
|||||||
<img src="<?php the_comic() ?>" alt="<?php the_title() ?>" title="<?php the_hovertext() ?>" />
|
<img src="<?php the_comic() ?>" alt="<?php the_title() ?>" title="<?php the_hovertext() ?>" />
|
||||||
</div>
|
</div>
|
||||||
<div id="comic-foot"></div>
|
<div id="comic-foot"></div>
|
||||||
|
<?php comic_navigation(); ?>
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
|
|
||||||
<div id="content" class="narrowcolumn">
|
<div id="content" class="narrowcolumn">
|
||||||
@ -20,22 +21,23 @@
|
|||||||
<div class="nav-first"><a href="<?php echo $first_comic ?>" title="Go to the First Comic">‹‹ First</a></div>
|
<div class="nav-first"><a href="<?php echo $first_comic ?>" title="Go to the First Comic">‹‹ First</a></div>
|
||||||
<div class="nav-previous"><?php global $wp_query; $wp_query->is_single = true; previous_comic_link('%link', '‹ Previous'); $wp_query->is_single = false ?></div>
|
<div class="nav-previous"><?php global $wp_query; $wp_query->is_single = true; previous_comic_link('%link', '‹ Previous'); $wp_query->is_single = false ?></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="comicdate">
|
|
||||||
<?php the_time('F jS, Y') ?>
|
|
||||||
</div>
|
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
<?php if (get_option('comicpress-enable-storyline-support') == 1) { ?>
|
<?php if (get_option('comicpress-enable-storyline-support') == 1) { ?>
|
||||||
<ul class="storyline-cats"><li class="storyline-root"><?php the_category(' » </li><li>', multiple) ?></li></ul>
|
<ul class="storyline-cats"><li class="storyline-root"><?php the_category(' » </li><li>', multiple) ?></li></ul>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<h2>
|
<div class="comicdate">
|
||||||
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title() ?>"><?php the_title() ?></a>
|
<div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
|
||||||
</h2>
|
</div>
|
||||||
|
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||||
|
By <?php the_author(); ?> on <?php the_time('F jS, Y'); ?> <?php edit_post_link('Edit Post', ' [ ', ' ] '); ?> <br />
|
||||||
|
Posted in: <?php the_category(','); ?>
|
||||||
|
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
|
||||||
<div class="entry">
|
<div class="entry">
|
||||||
<?php the_content('↓ Read the rest of this entry...') ?>
|
<?php the_content('↓ Read the rest of this entry...') ?>
|
||||||
</div>
|
</div>
|
||||||
<?php the_transcript('styled') ?>
|
<?php the_transcript('styled') ?>
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
<?php the_tags('└ Tags: ', ', ', ''); edit_post_link('Edit Post', ' [ ', ' ] ') ?>
|
<?php the_tags('└ Tags: ', ', ', ''); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="comment-link">
|
<div class="comment-link">
|
||||||
<?php if ('open' == $post->comment_status) { comments_popup_link('“Comment”', '“1 Comment”', '“% Comments”'); } ?>
|
<?php if ('open' == $post->comment_status) { comments_popup_link('“Comment”', '“1 Comment”', '“% Comments”'); } ?>
|
||||||
@ -57,17 +59,18 @@
|
|||||||
while ($wp_query->have_posts()) : $wp_query->the_post() ?>
|
while ($wp_query->have_posts()) : $wp_query->the_post() ?>
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post" id="post-<?php the_ID() ?>">
|
<div class="post" id="post-<?php the_ID() ?>">
|
||||||
<h3>
|
<div class="comicdate">
|
||||||
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title() ?>"><?php the_title() ?></a>
|
<div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
|
||||||
</h3>
|
|
||||||
<div class="postdate">
|
|
||||||
<?php the_time('F jS, Y') ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||||
|
By <?php the_author(); ?> on <?php the_time('F jS, Y') ?> <?php edit_post_link('Edit Post', ' [ ', ' ] '); ?> <br />
|
||||||
|
Posted in: <?php the_category(','); ?>
|
||||||
|
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
|
||||||
<div class="entry">
|
<div class="entry">
|
||||||
<?php the_content('↓ Read the rest of this entry...') ?>
|
<?php the_content('↓ Read the rest of this entry...') ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
<?php the_tags('└ Tags: ', ', ', ''); edit_post_link('Edit Post', ' [ ', ' ] ') ?>
|
<?php the_tags('└ Tags: ', ', ', ''); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="comment-link">
|
<div class="comment-link">
|
||||||
<?php if ('open' == $post->comment_status) { comments_popup_link('“Comment”', '“1 Comment”', '“% Comments”'); } ?>
|
<?php if ('open' == $post->comment_status) { comments_popup_link('“Comment”', '“1 Comment”', '“% Comments”'); } ?>
|
||||||
|
@ -22,10 +22,14 @@
|
|||||||
|
|
||||||
<div class="post-comic-head"></div>
|
<div class="post-comic-head"></div>
|
||||||
<div class="post-comic">
|
<div class="post-comic">
|
||||||
|
<div class="comicdate">
|
||||||
|
<div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
|
||||||
|
</div>
|
||||||
|
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||||
|
By <?php the_author(); ?> on <?php the_time('F jS, Y') ?> <?php edit_post_link('[edit this]'); ?> <br />
|
||||||
|
Posted in: <?php the_category(','); ?>
|
||||||
<div class="comicarchiveframe" style="width:<?php echo $archive_comic_width ?>px;">
|
<div class="comicarchiveframe" style="width:<?php echo $archive_comic_width ?>px;">
|
||||||
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="<?php the_title() ?>" title="<?php the_transcript() ?>" width="<?php echo $archive_comic_width ?>" /><br />
|
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="<?php the_title() ?>" title="<?php the_transcript() ?>" width="<?php echo $archive_comic_width ?>" /><br />
|
||||||
<h3><?php the_title() ?></h3>
|
|
||||||
<small><?php the_time('F jS, Y') ?></small></a>
|
|
||||||
</div>
|
</div>
|
||||||
<br class="clear-margins" />
|
<br class="clear-margins" />
|
||||||
</div>
|
</div>
|
||||||
@ -35,8 +39,12 @@
|
|||||||
|
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post">
|
<div class="post">
|
||||||
<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title() ?>"><?php the_title() ?></a></h3>
|
<div class="comicdate">
|
||||||
<div class="postdate"><?php the_time('F jS, Y') ?></div>
|
<div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
|
||||||
|
</div>
|
||||||
|
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||||
|
By <?php the_author(); ?> on <?php the_time('F jS, Y') ?> <?php edit_post_link('[edit this]'); ?> <br />
|
||||||
|
Posted in: <?php the_category(','); ?>
|
||||||
<?php the_excerpt() ?>
|
<?php the_excerpt() ?>
|
||||||
<br class="clear-margins" />
|
<br class="clear-margins" />
|
||||||
</div>
|
</div>
|
||||||
|
20
search.php
20
search.php
@ -22,10 +22,14 @@
|
|||||||
|
|
||||||
<div class="post-comic-head"></div>
|
<div class="post-comic-head"></div>
|
||||||
<div class="post-comic">
|
<div class="post-comic">
|
||||||
|
<div class="comicdate">
|
||||||
|
<div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
|
||||||
|
</div>
|
||||||
|
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||||
|
By <?php the_author(); ?> on <?php the_time('F jS, Y') ?> <?php edit_post_link('[edit this]'); ?> <br />
|
||||||
|
Posted in: <?php the_category(','); ?>
|
||||||
<div class="comicarchiveframe" style="width:<?php echo $archive_comic_width ?>px;">
|
<div class="comicarchiveframe" style="width:<?php echo $archive_comic_width ?>px;">
|
||||||
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="Click for full size." title="Click for full size" width="<?php echo $archive_comic_width ?>" /><br />
|
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="Click for full size." title="Click for full size" width="<?php echo $archive_comic_width ?>" /><br />
|
||||||
<h3><?php the_title() ?></h3>
|
|
||||||
<small><?php the_time('F jS, Y') ?></small></a>
|
|
||||||
</div>
|
</div>
|
||||||
<br class="clear-margins" />
|
<br class="clear-margins" />
|
||||||
</div>
|
</div>
|
||||||
@ -35,8 +39,12 @@
|
|||||||
|
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post">
|
<div class="post">
|
||||||
<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title() ?>"><?php the_title() ?></a></h3>
|
<div class="comicdate">
|
||||||
<div class="postdate"><?php the_time('F jS, Y') ?></div>
|
<div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
|
||||||
|
</div>
|
||||||
|
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||||
|
By <?php the_author(); ?> on <?php the_time('F jS, Y') ?> <?php edit_post_link('[edit this]'); ?> <br />
|
||||||
|
Posted in: <?php the_category(','); ?>
|
||||||
<?php the_excerpt() ?>
|
<?php the_excerpt() ?>
|
||||||
<br class="clear-margins" />
|
<br class="clear-margins" />
|
||||||
</div>
|
</div>
|
||||||
@ -44,7 +52,7 @@
|
|||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<?php endwhile ?>
|
<?php endwhile; ?>
|
||||||
|
|
||||||
<?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } else { ?>
|
<?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } else { ?>
|
||||||
<div class="pagenav">
|
<div class="pagenav">
|
||||||
@ -65,7 +73,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="post-page-foot"></div>
|
<div class="post-page-foot"></div>
|
||||||
|
|
||||||
<?php endif ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
|
<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
|
||||||
<div>
|
<div>
|
||||||
<input type="text" value="Search Site..." name="s" id="s" onfocus="this.value=(this.value=='Search Site...') ? '' : this.value;" onblur="this.value=(this.value=='') ? 'Search Site...' : this.value;" />
|
<input type="text" value="Search Site..." name="s" id="s" onfocus="this.value=(this.value=='Search Site...') ? '' : this.value;" onblur="this.value=(this.value=='') ? 'Search Site...' : this.value;" />
|
||||||
<input type="submit" id="searchsubmit" value="»" />
|
<button type="submit" class="button">►</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
26
single.php
26
single.php
@ -6,6 +6,7 @@
|
|||||||
<img src="<?php the_comic() ?>" alt="<?php the_title() ?>" title="<?php the_hovertext() ?>" />
|
<img src="<?php the_comic() ?>" alt="<?php the_title() ?>" title="<?php the_hovertext() ?>" />
|
||||||
</div>
|
</div>
|
||||||
<div id="comic-foot"></div>
|
<div id="comic-foot"></div>
|
||||||
|
<?php comic_navigation(); ?>
|
||||||
<?php } endwhile; ?>
|
<?php } endwhile; ?>
|
||||||
|
|
||||||
<div id="content" class="narrowcolumn">
|
<div id="content" class="narrowcolumn">
|
||||||
@ -15,24 +16,28 @@
|
|||||||
<?php if (in_comic_category()) { ?>
|
<?php if (in_comic_category()) { ?>
|
||||||
<div class="post-comic-head"></div>
|
<div class="post-comic-head"></div>
|
||||||
<div class="post-comic" id="post-<?php the_ID() ?>">
|
<div class="post-comic" id="post-<?php the_ID() ?>">
|
||||||
<div class="comicdate">
|
|
||||||
<div class="nav">
|
<div class="nav">
|
||||||
<?php if ( get_permalink() != $first_comic ) { ?><div class="nav-first"><a href="<?php echo $first_comic ?>">‹‹ First</a></div><?php } ?>
|
<?php if ( get_permalink() != $first_comic ) { ?><div class="nav-first"><a href="<?php echo $first_comic ?>">‹‹ First</a></div><?php } ?>
|
||||||
<div class="nav-previous"><?php previous_comic_link('%link', '‹ Previous') ?></div>
|
<div class="nav-previous"><?php previous_comic_link('%link', '‹ Previous') ?></div>
|
||||||
<div class="nav-next"><?php next_comic_link('%link', 'Next ›') ?></div>
|
<div class="nav-next"><?php next_comic_link('%link', 'Next ›') ?></div>
|
||||||
<?php if ( get_permalink() != $last_comic ) { ?><div class="nav-last"><a href="<?php echo $last_comic ?>">Last ››</a></div><?php } ?>
|
<?php if ( get_permalink() != $last_comic ) { ?><div class="nav-last"><a href="<?php echo $last_comic ?>">Last ››</a></div><?php } ?>
|
||||||
</div>
|
</div>
|
||||||
<?php the_time('F jS, Y') ?>
|
<div class="clear"></div>
|
||||||
</div>
|
|
||||||
<?php if (get_option('comicpress-enable-storyline-support') == 1) { ?>
|
<?php if (get_option('comicpress-enable-storyline-support') == 1) { ?>
|
||||||
<ul class="storyline-cats"><li class="storyline-root"><?php the_category(' » </li><li>', 'multiple') ?></li></ul>
|
<ul class="storyline-cats"><li class="storyline-root"><?php the_category(' » </li><li>', 'multiple') ?></li></ul>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<h2><?php the_title() ?></h2>
|
<div class="comicdate">
|
||||||
|
<div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
|
||||||
|
</div>
|
||||||
|
<h2><?php the_title(); ?></h2>
|
||||||
|
By <?php the_author(); ?> on <?php the_time('F jS, Y') ?> <?php edit_post_link('Edit Post', ' [ ', ' ] ') ?> <br />
|
||||||
|
Posted in: <?php the_category(','); ?>
|
||||||
|
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
|
||||||
<div class="entry">
|
<div class="entry">
|
||||||
<?php the_content() ?>
|
<?php the_content() ?>
|
||||||
<?php the_transcript('styled') ?>
|
<?php the_transcript('styled') ?>
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
<?php the_tags('└ Tags: ', ', ', ''); edit_post_link('Edit Post', ' [ ', ' ] ') ?>
|
<?php the_tags('└ Tags: ', ', ', ''); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')) ?>
|
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')) ?>
|
||||||
</div>
|
</div>
|
||||||
@ -49,13 +54,18 @@
|
|||||||
<div class="nav-blog-next"><?php next_post_link('%link','Next ›', TRUE) ?></div>
|
<div class="nav-blog-next"><?php next_post_link('%link','Next ›', TRUE) ?></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
<h2><?php the_title() ?></h2>
|
<div class="comicdate">
|
||||||
<div class="postdate"><?php the_time('F jS, Y') ?></div>
|
<div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
|
||||||
|
</div>
|
||||||
|
<h2><?php the_title(); ?></h2>
|
||||||
|
By <?php the_author(); ?> on <?php the_time('F jS, Y') ?> <?php edit_post_link('Edit Post', ' [ ', ' ] '); ?> <br />
|
||||||
|
Posted in: <?php the_category(','); ?>
|
||||||
|
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
|
||||||
<div class="entry">
|
<div class="entry">
|
||||||
<?php the_content() ?>
|
<?php the_content() ?>
|
||||||
<?php the_transcript('styled') ?>
|
<?php the_transcript('styled') ?>
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
<?php the_tags('└ Tags: ', ', ', ''); edit_post_link('Edit Post', ' [ ', ' ] ') ?>
|
<?php the_tags('└ Tags: ', ', ', ''); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')) ?>
|
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')) ?>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user