diff --git a/404.php b/404.php index 1dcaf2f..395e813 100644 --- a/404.php +++ b/404.php @@ -1,78 +1,82 @@
-
+
-
+
-
+
-
+
-
+
- -
+
-

+

- + - + - + -
+
-

+

-
    - 'count', - 'order' => 'DESC', - 'show_count' => 1, - 'title_li' => '', - 'number' => 10, - ) ); - ?> -
+
    + 'count', + 'order' => 'DESC', + 'show_count' => 1, + 'title_li' => '', + 'number' => 10, + ) ); + ?> +
-
+
- + - ' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'understrap' ), convert_smilies( ':)' ) ) . '

'; - the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=$archive_content" ); - ?> + ' . sprintf( __( 'Try looking in the monthly archives. %1$s', + 'understrap' ), convert_smilies( ':)' ) ) . '

'; + the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=$archive_content" ); + ?> - + -
+
-
+
-
+
-
+
-
+
-
+
diff --git a/archive.php b/archive.php index f0fa2ab..4b6c44e 100644 --- a/archive.php +++ b/archive.php @@ -7,12 +7,12 @@ * @package understrap */ - get_header(); +get_header(); ?> @@ -20,59 +20,61 @@ $sidebar_pos = get_theme_mod('understrap_sidebar_position');
-
+
-
+
- - + + -
+
- + - + - - + + - + + /* + * Include the Post-Format-specific template for the content. + * If you want to override this in a child theme, then include a file + * called content-___.php (where ___ is the Post Format name) and that will be used instead. + */ + get_template_part( 'loop-templates/content', get_post_format() ); + ?> - + - + - + - + -
+ -
+ - - - - - - +
-
+ + -
+ + + + +
+ + diff --git a/author.php b/author.php index c943300..fbbabb5 100644 --- a/author.php +++ b/author.php @@ -6,89 +6,96 @@ * * @package understrap */ - get_header(); - $container = get_theme_mod('understrap_container_type'); - $sidebar_pos = get_theme_mod('understrap_sidebar_position'); + +get_header(); +$container = get_theme_mod( 'understrap_container_type' ); +$sidebar_pos = get_theme_mod( 'understrap_sidebar_position' ); ?>
-
+
-
+
- - + + -
+
- -
    +
      - - - -
    • - - , - -
    • - + + + +
    • + + , + +
    • + - + - + - + - + - + -
    +
-
+
-
+
- - - - - - + + -
+ -
+ + +
+ + diff --git a/comments.php b/comments.php index 0973ced..da94098 100644 --- a/comments.php +++ b/comments.php @@ -14,70 +14,71 @@ * return early without loading the comments. */ if ( post_password_required() ) { - return; + return; } ?>
- + - -

- ' . get_the_title() . '' ); - ?> -

+ +

+ ' . get_the_title() . '' ); + ?> +

- 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> - - + 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through. ?> + + -
    - 'ol', - 'short_ping' => true, - ) ); - ?> -
+
    + 'ol', + 'short_ping' => true, + ) ); + ?> +
- 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> - - + 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through. ?> + + - + - + -

+

- + - - - +
diff --git a/footer.php b/footer.php index bf2b7d5..416de4e 100644 --- a/footer.php +++ b/footer.php @@ -8,41 +8,44 @@ */ $the_theme = wp_get_theme(); -$container = get_theme_mod('understrap_container_type'); +$container = get_theme_mod( 'understrap_container_type' ); ?> - + - - + - + diff --git a/functions.php b/functions.php index dbad2fa..c67523c 100644 --- a/functions.php +++ b/functions.php @@ -1,6 +1,6 @@ - - - > - - - - - - - - - + + + + + + + + + > -
+
- -
+ +
- + - -
+
diff --git a/home.php b/home.php index 035e309..e17080f 100644 --- a/home.php +++ b/home.php @@ -12,18 +12,15 @@ get_header(); +$container = get_theme_mod( 'understrap_container_type' ); +$sidebar_pos = get_theme_mod( 'understrap_sidebar_position' ); +$posts_style = get_theme_mod( 'understrap_posts_index_style' ); - $container = get_theme_mod('understrap_container_type'); - $sidebar_pos = get_theme_mod('understrap_sidebar_position'); - $posts_style = get_theme_mod( 'understrap_posts_index_style' ); +if ( is_front_page() && is_home() ) { + get_sidebar( 'hero' ); - if ( is_front_page() && is_home() ) { - get_sidebar('hero'); - - get_sidebar('statichero'); - } else { - // Do nothing...or? - } + get_sidebar( 'statichero' ); +} ?>
@@ -69,7 +66,7 @@ get_header(); -
+
diff --git a/index.php b/index.php index ecd06ee..9a18fb0 100644 --- a/index.php +++ b/index.php @@ -11,69 +11,69 @@ * @package understrap */ - get_header(); +get_header(); - $container = get_theme_mod('understrap_container_type'); - $sidebar_pos = get_theme_mod('understrap_sidebar_position'); +$container = get_theme_mod( 'understrap_container_type' ); +$sidebar_pos = get_theme_mod( 'understrap_sidebar_position' ); - if ( is_front_page() && is_home() ) { - get_sidebar('hero'); +if ( is_front_page() && is_home() ) { + get_sidebar( 'hero' ); - get_sidebar('statichero'); - } else { - // Do nothing...or? - } + get_sidebar( 'statichero' ); +} ?>
-
+
-
+
- - + + -
+
- + - + - + - + + /* + * Include the Post-Format-specific template for the content. + * If you want to override this in a child theme, then include a file + * called content-___.php (where ___ is the Post Format name) and that will be used instead. + */ + get_template_part( 'loop-templates/content', get_post_format() ); + ?> - + - + - + - + -
+ -
+ - - - - - - +
-
+ + -
+ + + + +
+ + diff --git a/page.php b/page.php index 0cf5bb8..1aff6ad 100644 --- a/page.php +++ b/page.php @@ -11,9 +11,7 @@ */ get_header(); -?> - - - + + diff --git a/search.php b/search.php index a3a830b..c47ac38 100644 --- a/search.php +++ b/search.php @@ -5,68 +5,68 @@ * @package understrap */ - get_header(); -?> -
-
+
-
+
- - + + -
+
- + - - - + + - + - + - + - + - + - + -
+
-
+
- - - - - - + + -
+ -
+ + +
+ + diff --git a/searchform.php b/searchform.php index 3bbf788..1ef2091 100644 --- a/searchform.php +++ b/searchform.php @@ -4,14 +4,16 @@ * * @package understrap */ -?> +?> diff --git a/sidebar-footerfull.php b/sidebar-footerfull.php index 144140f..1429178 100644 --- a/sidebar-footerfull.php +++ b/sidebar-footerfull.php @@ -1,11 +1,20 @@ - + +?> - + diff --git a/sidebar-hero.php b/sidebar-hero.php index fc83046..28a3431 100644 --- a/sidebar-hero.php +++ b/sidebar-hero.php @@ -1,15 +1,24 @@ - + +?> -
+ - + +
diff --git a/sidebar-statichero.php b/sidebar-statichero.php index a07df9c..5845765 100644 --- a/sidebar-statichero.php +++ b/sidebar-statichero.php @@ -1,11 +1,19 @@ - + +?> + -
+ - +
-
+ + +
diff --git a/sidebar.php b/sidebar.php index 8d3875a..2560d75 100644 --- a/sidebar.php +++ b/sidebar.php @@ -6,12 +6,12 @@ */ if ( ! is_active_sidebar( 'sidebar-1' ) ) { - return; + return; } ?> diff --git a/single.php b/single.php index a2a205a..8ac9e3c 100644 --- a/single.php +++ b/single.php @@ -5,54 +5,51 @@ * @package understrap */ - get_header(); -?> - -
-
+
-
+
- - + + -
+
- + - + - + - + - + -
+
-
+
- - - - - - + + -
+ -
+ + +
+ +