Update template formatting
Should be easier to read. No functional changes.
This commit is contained in:
parent
4ccc010f94
commit
c9e8500d5a
7
404.php
7
404.php
@ -18,10 +18,15 @@ $custom_404 = intval( get_option( 'fictioneer_404_page', -1 ) ?: -1 );
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main id="main" class="main singular the-404">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<article class="singular__article padding-left padding-right padding-top padding-bottom">
|
||||
@ -35,7 +40,9 @@ $custom_404 = intval( get_option( 'fictioneer_404_page', -1 ) ?: -1 );
|
||||
<?php endif; ?>
|
||||
</section>
|
||||
</article>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -94,10 +94,15 @@ $tabs[ $current_tab ]['classes'][] = '_current';
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main id="main" class="main author-page singular">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<article class="singular__article author-page__article padding-left padding-right padding-top padding-bottom">
|
||||
@ -214,7 +219,9 @@ $tabs[ $current_tab ]['classes'][] = '_current';
|
||||
</section>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -12,10 +12,15 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main id="main" class="main archive category-archive">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<article class="archive__article padding-left padding-right padding-top padding-bottom">
|
||||
@ -66,8 +71,11 @@
|
||||
</header>
|
||||
|
||||
<?php get_template_part( 'partials/_archive-loop' ); ?>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -95,10 +95,15 @@ if ( function_exists( 'update_post_author_caches' ) ) {
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main id="main" class="main singular chapters">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
@ -141,7 +146,9 @@ if ( function_exists( 'update_post_author_caches' ) ) {
|
||||
</article>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -55,10 +55,15 @@ if ( function_exists( 'update_post_author_caches' ) ) {
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main id="main" class="main singular collections">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
@ -101,7 +106,9 @@ if ( function_exists( 'update_post_author_caches' ) ) {
|
||||
</article>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
11
index.php
11
index.php
@ -15,15 +15,18 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main id="main" class="main index">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
<div class="main__wrapper">
|
||||
<?php
|
||||
|
||||
<div class="main__wrapper"><?php
|
||||
do_action( 'fictioneer_main_wrapper' );
|
||||
get_template_part( 'partials/_loop' );
|
||||
?>
|
||||
</div>
|
||||
?></div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -55,10 +55,15 @@ if ( function_exists( 'update_post_author_caches' ) ) {
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main id="main" class="main singular recommendations">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
@ -101,7 +106,9 @@ if ( function_exists( 'update_post_author_caches' ) ) {
|
||||
</article>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -31,10 +31,15 @@ get_header( null, $header_args );
|
||||
</div>
|
||||
|
||||
<main id="main" class="main chapter">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background chapter__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
|
||||
@ -213,7 +218,9 @@ get_header( null, $header_args );
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endwhile; endif; ?>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -23,10 +23,15 @@ get_header( null, array( 'type' => 'fcn_collection' ) );
|
||||
?>
|
||||
|
||||
<main id="main" class="main collection">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
@ -123,7 +128,9 @@ get_header( null, array( 'type' => 'fcn_collection' ) );
|
||||
</article>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -19,10 +19,15 @@ get_header( null, array( 'type' => 'fcn_recommendation' ) );
|
||||
?>
|
||||
|
||||
<main id="main" class="main recommendation">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
@ -70,7 +75,9 @@ get_header( null, array( 'type' => 'fcn_recommendation' ) );
|
||||
</article>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -29,10 +29,15 @@ get_header( null, $header_args );
|
||||
?>
|
||||
|
||||
<main id="main" class="main story <?php if ( ! $can_checkmarks ) echo '_no-checkmarks'; ?>">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper _no-padding">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
@ -101,7 +106,9 @@ get_header( null, $header_args );
|
||||
<?php do_action( 'fictioneer_story_after_article', $hook_args ); ?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -16,10 +16,15 @@ get_header();
|
||||
?>
|
||||
|
||||
<main id="main" class="main post">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
@ -63,7 +68,9 @@ get_header();
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -26,10 +26,15 @@ if ( ! get_option( 'fictioneer_enable_bookmarks' ) ) {
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main id="main" class="main singular bookmarks-page">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
@ -72,7 +77,9 @@ if ( ! get_option( 'fictioneer_enable_bookmarks' ) ) {
|
||||
</article>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -71,10 +71,15 @@ $tabs[ $current_tab ]['classes'][] = '_current';
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main id="main" class="main singular bookshelf">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
@ -154,7 +159,9 @@ $tabs[ $current_tab ]['classes'][] = '_current';
|
||||
</article>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -87,10 +87,15 @@ $tabs[ $current_tab ]['classes'][] = '_current';
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main id="main" class="main singular bookshelf">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
@ -194,7 +199,9 @@ $tabs[ $current_tab ]['classes'][] = '_current';
|
||||
</article>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -59,10 +59,15 @@ $terms = array(
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main id="main" class="main singular">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
@ -120,8 +125,11 @@ $terms = array(
|
||||
<?php endforeach; ?>
|
||||
|
||||
</article>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -20,10 +20,15 @@ get_header();
|
||||
?>
|
||||
|
||||
<main id="main" class="main singular">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
@ -51,7 +56,9 @@ get_header();
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -20,10 +20,15 @@ get_header();
|
||||
?>
|
||||
|
||||
<main id="main" class="main singular">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
@ -55,7 +60,9 @@ get_header();
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -102,10 +102,15 @@ if ( function_exists( 'update_post_author_caches' ) ) {
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main id="main" class="main singular stories">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
@ -151,7 +156,9 @@ if ( function_exists( 'update_post_author_caches' ) ) {
|
||||
</article>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
8
tag.php
8
tag.php
@ -13,10 +13,15 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main id="main" class="main archive tag-archive">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<article class="archive__article padding-left padding-right padding-top padding-bottom">
|
||||
@ -74,8 +79,11 @@
|
||||
</header>
|
||||
|
||||
<?php get_template_part( 'partials/_archive-loop' ); ?>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -12,10 +12,15 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main id="main" class="main archive character-archive">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<article class="archive__article padding-left padding-right padding-top padding-bottom">
|
||||
@ -75,8 +80,11 @@
|
||||
</header>
|
||||
|
||||
<?php get_template_part( 'partials/_archive-loop' ); ?>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -12,10 +12,15 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main id="main" class="main archive content-warning-archive">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<article class="archive__article padding-left padding-right padding-top padding-bottom">
|
||||
@ -75,8 +80,11 @@
|
||||
</header>
|
||||
|
||||
<?php get_template_part( 'partials/_archive-loop' ); ?>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -12,10 +12,15 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main id="main" class="main archive fandom-archive">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<article class="archive__article padding-left padding-right padding-top padding-bottom">
|
||||
@ -75,8 +80,11 @@
|
||||
</header>
|
||||
|
||||
<?php get_template_part( 'partials/_archive-loop' ); ?>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -12,10 +12,15 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main id="main" class="main archive genre-archive">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<article class="archive__article padding-left padding-right padding-top padding-bottom">
|
||||
@ -75,8 +80,11 @@
|
||||
</header>
|
||||
|
||||
<?php get_template_part( 'partials/_archive-loop' ); ?>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
@ -62,10 +62,15 @@ $hook_args = array(
|
||||
<?php get_header( null, array( 'type' => 'user-profile' ) ); ?>
|
||||
|
||||
<main id="main" class="main singular profile">
|
||||
|
||||
<div class="observer main-observer"></div>
|
||||
|
||||
<?php do_action( 'fictioneer_main' ); ?>
|
||||
|
||||
<div class="main__background polygon polygon--main background-texture"></div>
|
||||
|
||||
<div class="main__wrapper">
|
||||
|
||||
<?php do_action( 'fictioneer_main_wrapper' ); ?>
|
||||
|
||||
<article id="singular-<?php echo $post_id; ?>" class="singular__article padding-left padding-right padding-top padding-bottom">
|
||||
@ -75,7 +80,9 @@ $hook_args = array(
|
||||
</section>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
Loading…
x
Reference in New Issue
Block a user