-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.php
50 lines (40 loc) · 1.15 KB
/
index.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
47
48
49
50
<?php get_header(); ?>
<?php get_template_part( 'loop', 'comic-feature' ); ?>
<div id="mm-content">
<div id="mm-entries">
<?php // Yes, this is crazy! Wanna fight about it? ?>
<?php if( is_home() ) : ?>
<?php get_template_part( 'loop', 'recent' ); ?>
<?php elseif( is_tax( ComicManager::character_taxonomy ) ) : ?>
<?php get_template_part( 'archive', 'character' ); ?>
<?php elseif( is_tax( ComicManager::series_taxonomy ) ) : ?>
<?php get_template_part( 'archive', 'series' ); ?>
<?php elseif( is_single() ) : ?>
<?php get_template_part( 'content', 'post' ); ?>
<?php elseif( is_page() ) : ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php elseif( is_404() ) : ?>
<?php get_template_part( 'content', '404' ); ?>
<?php else : ?>
<?php get_template_part( 'loop' ); ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>
<?php
/*
* Post styling
* Post meta styling
* Single Post
* Single Page
* Archives (Series, Character, and Posts)
* Archive Loops (Series, Character, and Posts)
* Character Info
* Character List
* Series Info
* Series List
* Prev-Next plugin caching
* Next / Prev Case
*/
?>