summaryrefslogtreecommitdiff
path: root/dist/page-templates
diff options
context:
space:
mode:
Diffstat (limited to 'dist/page-templates')
-rw-r--r--dist/page-templates/blank.php36
-rw-r--r--dist/page-templates/both-sidebarspage.php61
-rw-r--r--dist/page-templates/empty.php21
-rw-r--r--dist/page-templates/fullwidthpage.php53
-rw-r--r--dist/page-templates/left-sidebarpage.php55
-rw-r--r--dist/page-templates/right-sidebarpage.php55
6 files changed, 0 insertions, 281 deletions
diff --git a/dist/page-templates/blank.php b/dist/page-templates/blank.php
deleted file mode 100644
index 42210d3..0000000
--- a/dist/page-templates/blank.php
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-/**
- * Template Name: Blank Page Template
- *
- * Template for displaying a blank page.
- *
- * @package understrap
- */
-
-if ( ! defined( 'ABSPATH' ) ) {
- exit; // Exit if accessed directly.
-}
-?>
-<!DOCTYPE html>
-<html <?php language_attributes(); ?>>
-<head>
- <meta charset="<?php bloginfo( 'charset' ); ?>">
- <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-title"
- content="<?php bloginfo( 'name' ); ?> - <?php bloginfo( 'description' ); ?>">
- <link rel="profile" href="http://gmpg.org/xfn/11">
- <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
- <?php wp_head(); ?>
-</head>
-<body>
-<?php while ( have_posts() ) : the_post(); ?>
-
- <?php get_template_part( 'loop-templates/content', 'blank' ); ?>
-
-<?php endwhile; // end of the loop. ?>
-<?php wp_footer(); ?>
-</body>
-</html>
diff --git a/dist/page-templates/both-sidebarspage.php b/dist/page-templates/both-sidebarspage.php
deleted file mode 100644
index 954be68..0000000
--- a/dist/page-templates/both-sidebarspage.php
+++ /dev/null
@@ -1,61 +0,0 @@
-<?php
-/**
- * Template Name: Left and Right Sidebar Layout
- *
- * This template can be used to override the default template and sidebar setup
- *
- * @package understrap
- */
-
-if ( ! defined( 'ABSPATH' ) ) {
- exit; // Exit if accessed directly.
-}
-
-get_header();
-$container = get_theme_mod( 'understrap_container_type' );
-?>
-
-<div class="wrapper" id="page-wrapper">
-
- <div class="<?php echo esc_attr( $container ); ?>" id="content">
-
- <div class="row">
-
- <?php get_template_part( 'sidebar-templates/sidebar', 'left' ); ?>
-
- <div
- class="<?php
- if ( is_active_sidebar( 'left-sidebar' ) xor is_active_sidebar( 'right-sidebar' ) ) : ?>col-md-8<?php
- elseif ( is_active_sidebar( 'left-sidebar' ) && is_active_sidebar( 'right-sidebar' ) ) : ?>col-md-4<?php
- else : ?>col-md-12<?php
- endif; ?> content-area"
- id="primary">
-
- <main class="site-main" id="main" role="main">
-
- <?php while ( have_posts() ) : the_post(); ?>
-
- <?php get_template_part( 'loop-templates/content', 'page' ); ?>
-
- <?php
- // If comments are open or we have at least one comment, load up the comment template.
- if ( comments_open() || get_comments_number() ) :
- comments_template();
- endif;
- ?>
-
- <?php endwhile; // end of the loop. ?>
-
- </main><!-- #main -->
-
- </div><!-- #primary -->
-
- <?php get_template_part( 'sidebar-templates/sidebar', 'right' ); ?>
-
- </div><!-- .row -->
-
- </div><!-- Container end -->
-
-</div><!-- Wrapper end -->
-
-<?php get_footer(); ?>
diff --git a/dist/page-templates/empty.php b/dist/page-templates/empty.php
deleted file mode 100644
index 2c11ff1..0000000
--- a/dist/page-templates/empty.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-/**
- * Template Name: Empty Page Template
- *
- * Template for displaying a page just with the header and footer area and a "naked" content area in between.
- * Good for landingpages and other types of pages where you want to add a lot of custom markup.
- *
- * @package understrap
- */
-
-if ( ! defined( 'ABSPATH' ) ) {
- exit; // Exit if accessed directly.
-}
-
-get_header();
-
-while ( have_posts() ) : the_post();
- get_template_part( 'loop-templates/content', 'empty' );
-endwhile;
-
-get_footer();
diff --git a/dist/page-templates/fullwidthpage.php b/dist/page-templates/fullwidthpage.php
deleted file mode 100644
index a028f6a..0000000
--- a/dist/page-templates/fullwidthpage.php
+++ /dev/null
@@ -1,53 +0,0 @@
-<?php
-/**
- * Template Name: Full Width Page
- *
- * Template for displaying a page without sidebar even if a sidebar widget is published.
- *
- * @package understrap
- */
-
-if ( ! defined( 'ABSPATH' ) ) {
- exit; // Exit if accessed directly.
-}
-
-get_header();
-$container = get_theme_mod( 'understrap_container_type' );
-?>
-
-<div class="wrapper" id="full-width-page-wrapper">
-
- <div class="<?php echo esc_attr( $container ); ?>" id="content">
-
- <div class="row">
-
- <div class="col-md-12 content-area" id="primary">
-
- <main class="site-main" id="main" role="main">
-
- <?php while ( have_posts() ) : the_post(); ?>
-
- <?php get_template_part( 'loop-templates/content', 'page' ); ?>
-
- <?php
- // If comments are open or we have at least one comment, load up the comment template.
- if ( comments_open() || get_comments_number() ) :
-
- comments_template();
-
- endif;
- ?>
-
- <?php endwhile; // end of the loop. ?>
-
- </main><!-- #main -->
-
- </div><!-- #primary -->
-
- </div><!-- .row end -->
-
- </div><!-- Container end -->
-
-</div><!-- Wrapper end -->
-
-<?php get_footer(); ?>
diff --git a/dist/page-templates/left-sidebarpage.php b/dist/page-templates/left-sidebarpage.php
deleted file mode 100644
index 5b99dd1..0000000
--- a/dist/page-templates/left-sidebarpage.php
+++ /dev/null
@@ -1,55 +0,0 @@
-<?php
-/**
- * Template Name: Left Sidebar Layout
- *
- * This template can be used to override the default template and sidebar setup
- *
- * @package understrap
- */
-
-if ( ! defined( 'ABSPATH' ) ) {
- exit; // Exit if accessed directly.
-}
-
-get_header();
-$container = get_theme_mod( 'understrap_container_type' );
-?>
-
-<div class="wrapper" id="page-wrapper">
-
- <div class="<?php echo esc_attr( $container ); ?>" id="content">
-
- <div class="row">
-
- <?php get_template_part( 'sidebar-templates/sidebar', 'left' ); ?>
-
- <div
- class="<?php if ( is_active_sidebar( 'left-sidebar' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area"
- id="primary">
-
- <main class="site-main" id="main" role="main">
-
- <?php while ( have_posts() ) : the_post(); ?>
-
- <?php get_template_part( 'loop-templates/content', 'page' ); ?>
-
- <?php
- // If comments are open or we have at least one comment, load up the comment template.
- if ( comments_open() || get_comments_number() ) :
- comments_template();
- endif;
- ?>
-
- <?php endwhile; // end of the loop. ?>
-
- </main><!-- #main -->
-
- </div><!-- #primary -->
-
- </div><!-- .row -->
-
- </div><!-- Container end -->
-
-</div><!-- Wrapper end -->
-
-<?php get_footer(); ?>
diff --git a/dist/page-templates/right-sidebarpage.php b/dist/page-templates/right-sidebarpage.php
deleted file mode 100644
index 30abdf6..0000000
--- a/dist/page-templates/right-sidebarpage.php
+++ /dev/null
@@ -1,55 +0,0 @@
-<?php
-/**
- * Template Name: Right Sidebar Layout
- *
- * This template can be used to override the default template and sidebar setup
- *
- * @package understrap
- */
-
-if ( ! defined( 'ABSPATH' ) ) {
- exit; // Exit if accessed directly.
-}
-
-get_header();
-$container = get_theme_mod( 'understrap_container_type' );
-?>
-
-<div class="wrapper" id="page-wrapper">
-
- <div class="<?php echo esc_attr( $container ); ?>" id="content">
-
- <div class="row">
-
- <div
- class="<?php if ( is_active_sidebar( 'right-sidebar' ) ) : ?>col-md-9<?php else : ?>col-md-12<?php endif; ?> content-area"
- id="primary">
-
- <main class="site-main" id="main" role="main">
-
- <?php while ( have_posts() ) : the_post(); ?>
-
- <?php get_template_part( 'loop-templates/content', 'page' ); ?>
-
- <?php
- // If comments are open or we have at least one comment, load up the comment template.
- if ( comments_open() || get_comments_number() ) :
- comments_template();
- endif;
- ?>
-
- <?php endwhile; // end of the loop. ?>
-
- </main><!-- #main -->
-
- </div><!-- #primary -->
-
- <?php get_template_part( 'sidebar-templates/sidebar', 'right' ); ?>
-
- </div><!-- .row -->
-
- </div><!-- Container end -->
-
-</div><!-- Wrapper end -->
-
-<?php get_footer(); ?>