From c5a0c5a82694c65728b7d7b5925baad135427299 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 2 Apr 2015 11:52:07 -0400 Subject: [PATCH] Update blog pages Put div wrapper around the entire blog part giving it small-11 centered. Create partial php file for the blog side area. --- home.php | 65 +++++++++++++++++++++++---------------------- parts/blog-side.php | 31 +++++++++++++++++++++ single.php | 38 +++++--------------------- 3 files changed, 71 insertions(+), 63 deletions(-) create mode 100644 parts/blog-side.php diff --git a/home.php b/home.php index afd0172..4953c8f 100644 --- a/home.php +++ b/home.php @@ -1,42 +1,43 @@
-
-
-
-
-
- -
-
-
-
- -
-
-
-
-
> -
-

- Posted on -
- -
-
+
+
+
+
+
+ +
+
+
+
+
> +
+

+ Posted on +
+ +
- - - -
-

-
-
+ + + +
+

+
+ +
+
+
+
+
+
+
diff --git a/parts/blog-side.php b/parts/blog-side.php new file mode 100644 index 0000000..041d91d --- /dev/null +++ b/parts/blog-side.php @@ -0,0 +1,31 @@ +
+
+
+ +
+
+

Recent Posts

+
    + '5' ); + $recent_posts = wp_get_recent_posts( $args ); + foreach( $recent_posts as $recent ){ + echo '
  • ' . $recent["post_title"].'
  • '; + } + ?> +
+

Archive

+
    'monthly', 'limit' => 12 ) ); ?>
+

Categories

+ +
diff --git a/single.php b/single.php index bd8c4d0..93f5e62 100644 --- a/single.php +++ b/single.php @@ -6,6 +6,9 @@
+
+
+
@@ -57,38 +60,11 @@
-
-
-
- -
-
-

Recent Posts

-
    - '5' ); - $recent_posts = wp_get_recent_posts( $args ); - foreach( $recent_posts as $recent ){ - echo '
  • ' . $recent["post_title"].'
  • '; - } - ?> -
-

Archive

-
    'monthly', 'limit' => 12 ) ); ?>
-

Categories

- -
+
+
+
+
-- 2.17.1