Some serious fixes.

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-09-13 15:25:23 -07:00
parent 7eb59f6689
commit 217cd123c3
6 changed files with 13 additions and 5 deletions

View File

@ -1,4 +1,4 @@
<div <?php comment_class(); ?>>
<?php
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
@ -11,6 +11,7 @@ if ( post_password_required() ) { ?>
}
if ( have_comments() ) : ?>
<div <?php comment_class(); ?>>
<?php if ( ! empty($comments_by_type['comment']) ) : ?>
<div class="commentsrsslink">[ <?php comments_rss_link('Comments RSS'); ?> ]</div>
@ -139,7 +140,7 @@ if ( have_comments() ) : ?>
<?php endif; // If registration required and not logged in ?>
</div>
</div>
<?php endif; ?>
</div>

View File

@ -5,7 +5,7 @@ if (function_exists('id_get_comment_number')) {
remove_filter('comments_number','id_get_comment_number');
}
$comicpress_version = '2.8.1.6';
$comicpress_version = '2.8.1.7';
// Remove the wptexturizer from changing the quotes and squotes.
// remove_filter('the_title', 'wptexturize');

View File

@ -34,6 +34,7 @@ function display_blog_post() {
<div class="entry">
<?php if (!is_single()) { global $more; $more = 0; } ?>
<?php the_content('&darr; Read the rest of this entry...') ?>
<?php if (is_single()) wp_link_pages(array('before' => '<div class="linkpages"><span class="linkpages-pagetext">Pages:</span> ', 'after' => '</div>', 'next_or_number' => 'number')); ?>
</div>
<div class="post-extras">
<?php if ($disable_tags_in_posts != 'yes') { ?>

View File

@ -47,6 +47,7 @@ function display_comic_post() {
<div class="entry">
<?php if (!is_single()) { global $more; $more = 0; } ?>
<?php the_content('&darr; Read More..') ?>
<?php if (is_single()) wp_link_pages(array('before' => '<div class="linkpages"><span class="linkpages-pagetext">Pages:</span> ', 'after' => '</div>', 'next_or_number' => 'number')); ?>
</div>
<?php if ($transcript_in_posts == 'yes') the_transcript('styled'); ?>
<div class="post-extras">

View File

@ -37,7 +37,7 @@
<h2 class="pagetitle"><?php the_title() ?></h2>
<div class="entry">
<?php the_content() ?>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')) ?>
<?php wp_link_pages(array('before' => '<div class="linkpages"><span class="linkpages-pagetext">Pages:</span> ', 'after' => '</div>', 'next_or_number' => 'number')); ?>
</div>
<?php edit_post_link('Edit this page.', '<p>', '</p>') ?>
<br class="clear-margins" />

View File

@ -595,6 +595,11 @@ a.navi-comments:hover span {
padding: 3px;
}
.linkpages {
float: right;
margin: 5px;
}
/* COMMENT LINK */
.comment-link {