directory pathing cleanup

This commit is contained in:
John Bintz 2009-07-15 17:10:13 -04:00
parent 4ad05b0bac
commit e6e6440cf5
15 changed files with 28 additions and 28 deletions

View File

@ -11,6 +11,6 @@
<div class="post-page-foot"></div>
</div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
<?php include(get_template_directory() . '/sidebar.php') ?>
<?php get_footer() ?>

View File

@ -93,6 +93,6 @@ for ($i = 0; $i < 7; ++$i) {
</div>
<?php include(dirname(__FILE__) . '/sidebar.php') ?>
<?php include(get_template_directory() . '/sidebar.php') ?>
<?php get_footer() ?>

View File

@ -128,6 +128,6 @@ Template Name: Comic Storyline with Thumbs
</div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
<?php include(get_template_directory() . '/sidebar.php') ?>
<?php get_footer() ?>

View File

@ -128,6 +128,6 @@ Template Name: Comic Storyline Archive
</div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
<?php include(get_template_directory() . '/sidebar.php') ?>
<?php get_footer() ?>

View File

@ -66,6 +66,6 @@ Template Name: Comic Year Archive
</div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
<?php include(get_template_directory() . '/sidebar.php') ?>
<?php get_footer() ?>

View File

@ -2,7 +2,7 @@
<div id="content" class="archive">
<?php if (have_posts()) {
include(dirname(__FILE__) . '/partials/archive-header.inc');
include(get_template_directory() . '/partials/archive-header.inc');
// why can't wordpress allow for post date asc sorting out of the box...
@ -11,13 +11,13 @@
the_post();
if (in_comic_category()) {
include(dirname(__FILE__) . '/partials/archive-comic-post.inc');
include(get_template_directory() . '/partials/archive-comic-post.inc');
} else {
include(dirname(__FILE__) . '/partials/archive-blog-post.inc');
include(get_template_directory() . '/partials/archive-blog-post.inc');
}
}
include(dirname(__FILE__) . '/partials/archive-page-nav.inc');
include(get_template_directory() . '/partials/archive-page-nav.inc');
<?php } else { ?>
@ -25,7 +25,7 @@
<div class="post">
<h3>No entries found.</h3>
<p>Try another search?</p>
<p><?php include (TEMPLATEPATH . '/searchform.php') ?></p>
<p><?php include (get_template_directory() . '/searchform.php') ?></p>
<br class="clear-margins" />
</div>
<div class="post-foot"></div>
@ -34,6 +34,6 @@
</div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
<?php include(get_template_directory() . '/sidebar.php') ?>
<?php get_footer() ?>

View File

@ -18,6 +18,6 @@ Template Name: Archives
<div class="post-page-foot"></div>
</div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
<?php include(get_template_directory() . '/sidebar.php') ?>
<?php get_footer() ?>

View File

@ -64,6 +64,6 @@
</div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
<?php include(get_template_directory() . '/sidebar.php') ?>
<?php get_footer() ?>

View File

@ -14,7 +14,7 @@
<?php } ?>
<div id="content" class="narrowcolumn">
<?php if (!is_paged()) { include(dirname(__FILE__) . '/partials/index-comic-post.inc'); } ?>
<?php if (!is_paged()) { include(get_template_directory() . '/partials/index-comic-post.inc'); } ?>
<div id="blogheader"><!-- This area can be used for a heading above your main page blog posts --></div>
@ -31,13 +31,13 @@
while ($wp_query->have_posts()) {
$wp_query->the_post();
include(dirname(__FILE__) . '/partials/index-blog-post.inc');
include(get_template_directory() . '/partials/index-blog-post.inc');
}
include(dirname(__FILE__) . '/partials/index-blog-post.inc');
include(get_template_directory() . '/partials/index-blog-post.inc');
?>
</div>
<?php include(dirname(__FILE__) . '/sidebar.php') ?>
<?php include(get_template_directory() . '/sidebar.php') ?>
<?php get_footer() ?>

View File

@ -20,6 +20,6 @@ Template Name: Links
</div>
</div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
<?php include(get_template_directory() . '/sidebar.php') ?>
<?php get_footer() ?>

View File

@ -17,6 +17,6 @@
<?php comments_template(); ?>
</div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
<?php include(get_template_directory() . '/sidebar.php') ?>
<?php get_footer() ?>

View File

@ -60,7 +60,7 @@
<div class="post-page">
<h3>No transcripts found.</h3>
<p>Try another search?</p>
<p><?php include (TEMPLATEPATH . '/searchform-transcript.php') ?></p>
<p><?php include (get_template_directory() . '/searchform-transcript.php') ?></p>
<br class="clear-margins" />
</div>
<div class="post-page-foot"></div>
@ -69,6 +69,6 @@
</div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
<?php include(get_template_directory() . '/sidebar.php') ?>
<?php get_footer() ?>

View File

@ -60,7 +60,7 @@
<div class="post-page">
<h3>No entries found.</h3>
<p>Try another search?</p>
<p><?php include (TEMPLATEPATH . '/searchform.php') ?></p>
<p><?php include (get_template_directory() . '/searchform.php') ?></p>
<br class="clear-margins" />
</div>
<div class="post-page-foot"></div>
@ -69,6 +69,6 @@
</div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
<?php include(get_template_directory() . '/sidebar.php') ?>
<?php get_footer() ?>

View File

@ -31,7 +31,7 @@
<?php wp_list_bookmarks(); ?>
<li>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
<?php include (get_template_directory() . '/searchform.php'); ?>
</li>
<?php endif; ?>

View File

@ -21,19 +21,19 @@
if (have_posts()) {
while (have_posts()) { the_post();
if (in_comic_category()) {
include(dirname(__FILE__) . '/partials/single-comic-post.inc');
include(get_template_directory() . '/partials/single-comic-post.inc');
} else {
include(dirname(__FILE_) . '/partials/single-blog-post.inc');
include(get_template_directory() . '/partials/single-blog-post.inc');
}
comments_template();
}
} else {
include(dirname(__FILE_) . '/partials/single-no-matches.inc');
include(get_template_directory() . '/partials/single-no-matches.inc');
}
?>
</div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
<?php include(get_template_directory() . '/sidebar.php') ?>
<?php get_footer() ?>