directory pathing cleanup
This commit is contained in:
parent
4ad05b0bac
commit
e6e6440cf5
2
404.php
2
404.php
@ -11,6 +11,6 @@
|
|||||||
<div class="post-page-foot"></div>
|
<div class="post-page-foot"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
|
<?php include(get_template_directory() . '/sidebar.php') ?>
|
||||||
|
|
||||||
<?php get_footer() ?>
|
<?php get_footer() ?>
|
@ -93,6 +93,6 @@ for ($i = 0; $i < 7; ++$i) {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php include(dirname(__FILE__) . '/sidebar.php') ?>
|
<?php include(get_template_directory() . '/sidebar.php') ?>
|
||||||
|
|
||||||
<?php get_footer() ?>
|
<?php get_footer() ?>
|
@ -128,6 +128,6 @@ Template Name: Comic Storyline with Thumbs
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
|
<?php include(get_template_directory() . '/sidebar.php') ?>
|
||||||
|
|
||||||
<?php get_footer() ?>
|
<?php get_footer() ?>
|
@ -128,6 +128,6 @@ Template Name: Comic Storyline Archive
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
|
<?php include(get_template_directory() . '/sidebar.php') ?>
|
||||||
|
|
||||||
<?php get_footer() ?>
|
<?php get_footer() ?>
|
@ -66,6 +66,6 @@ Template Name: Comic Year Archive
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
|
<?php include(get_template_directory() . '/sidebar.php') ?>
|
||||||
|
|
||||||
<?php get_footer() ?>
|
<?php get_footer() ?>
|
12
archive.php
12
archive.php
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<div id="content" class="archive">
|
<div id="content" class="archive">
|
||||||
<?php if (have_posts()) {
|
<?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...
|
// why can't wordpress allow for post date asc sorting out of the box...
|
||||||
|
|
||||||
@ -11,13 +11,13 @@
|
|||||||
the_post();
|
the_post();
|
||||||
|
|
||||||
if (in_comic_category()) {
|
if (in_comic_category()) {
|
||||||
include(dirname(__FILE__) . '/partials/archive-comic-post.inc');
|
include(get_template_directory() . '/partials/archive-comic-post.inc');
|
||||||
} else {
|
} 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 { ?>
|
<?php } else { ?>
|
||||||
|
|
||||||
@ -25,7 +25,7 @@
|
|||||||
<div class="post">
|
<div class="post">
|
||||||
<h3>No entries found.</h3>
|
<h3>No entries found.</h3>
|
||||||
<p>Try another search?</p>
|
<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" />
|
<br class="clear-margins" />
|
||||||
</div>
|
</div>
|
||||||
<div class="post-foot"></div>
|
<div class="post-foot"></div>
|
||||||
@ -34,6 +34,6 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
|
<?php include(get_template_directory() . '/sidebar.php') ?>
|
||||||
|
|
||||||
<?php get_footer() ?>
|
<?php get_footer() ?>
|
@ -18,6 +18,6 @@ Template Name: Archives
|
|||||||
<div class="post-page-foot"></div>
|
<div class="post-page-foot"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
|
<?php include(get_template_directory() . '/sidebar.php') ?>
|
||||||
|
|
||||||
<?php get_footer() ?>
|
<?php get_footer() ?>
|
@ -64,6 +64,6 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
|
<?php include(get_template_directory() . '/sidebar.php') ?>
|
||||||
|
|
||||||
<?php get_footer() ?>
|
<?php get_footer() ?>
|
@ -14,7 +14,7 @@
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<div id="content" class="narrowcolumn">
|
<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>
|
<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()) {
|
while ($wp_query->have_posts()) {
|
||||||
$wp_query->the_post();
|
$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>
|
</div>
|
||||||
|
|
||||||
<?php include(dirname(__FILE__) . '/sidebar.php') ?>
|
<?php include(get_template_directory() . '/sidebar.php') ?>
|
||||||
|
|
||||||
<?php get_footer() ?>
|
<?php get_footer() ?>
|
@ -20,6 +20,6 @@ Template Name: Links
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
|
<?php include(get_template_directory() . '/sidebar.php') ?>
|
||||||
|
|
||||||
<?php get_footer() ?>
|
<?php get_footer() ?>
|
2
page.php
2
page.php
@ -17,6 +17,6 @@
|
|||||||
<?php comments_template(); ?>
|
<?php comments_template(); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
|
<?php include(get_template_directory() . '/sidebar.php') ?>
|
||||||
|
|
||||||
<?php get_footer() ?>
|
<?php get_footer() ?>
|
@ -60,7 +60,7 @@
|
|||||||
<div class="post-page">
|
<div class="post-page">
|
||||||
<h3>No transcripts found.</h3>
|
<h3>No transcripts found.</h3>
|
||||||
<p>Try another search?</p>
|
<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" />
|
<br class="clear-margins" />
|
||||||
</div>
|
</div>
|
||||||
<div class="post-page-foot"></div>
|
<div class="post-page-foot"></div>
|
||||||
@ -69,6 +69,6 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
|
<?php include(get_template_directory() . '/sidebar.php') ?>
|
||||||
|
|
||||||
<?php get_footer() ?>
|
<?php get_footer() ?>
|
@ -60,7 +60,7 @@
|
|||||||
<div class="post-page">
|
<div class="post-page">
|
||||||
<h3>No entries found.</h3>
|
<h3>No entries found.</h3>
|
||||||
<p>Try another search?</p>
|
<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" />
|
<br class="clear-margins" />
|
||||||
</div>
|
</div>
|
||||||
<div class="post-page-foot"></div>
|
<div class="post-page-foot"></div>
|
||||||
@ -69,6 +69,6 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
|
<?php include(get_template_directory() . '/sidebar.php') ?>
|
||||||
|
|
||||||
<?php get_footer() ?>
|
<?php get_footer() ?>
|
@ -31,7 +31,7 @@
|
|||||||
<?php wp_list_bookmarks(); ?>
|
<?php wp_list_bookmarks(); ?>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
|
<?php include (get_template_directory() . '/searchform.php'); ?>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -21,19 +21,19 @@
|
|||||||
if (have_posts()) {
|
if (have_posts()) {
|
||||||
while (have_posts()) { the_post();
|
while (have_posts()) { the_post();
|
||||||
if (in_comic_category()) {
|
if (in_comic_category()) {
|
||||||
include(dirname(__FILE__) . '/partials/single-comic-post.inc');
|
include(get_template_directory() . '/partials/single-comic-post.inc');
|
||||||
} else {
|
} else {
|
||||||
include(dirname(__FILE_) . '/partials/single-blog-post.inc');
|
include(get_template_directory() . '/partials/single-blog-post.inc');
|
||||||
}
|
}
|
||||||
|
|
||||||
comments_template();
|
comments_template();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
include(dirname(__FILE_) . '/partials/single-no-matches.inc');
|
include(get_template_directory() . '/partials/single-no-matches.inc');
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
|
<?php include(get_template_directory() . '/sidebar.php') ?>
|
||||||
|
|
||||||
<?php get_footer() ?>
|
<?php get_footer() ?>
|
Loading…
Reference in New Issue
Block a user