From 33b49953cade2bc38ce6ab8dc1b391eb511e021c Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Wed, 8 Jul 2015 15:08:32 -0400 Subject: [PATCH] Sidebar hopefully removed on request brochures page. --- front-page.php | 7 ++++-- page-1257.php | 56 +++++++++++++++++++++++++++++++++++++++++ page.php | 4 +-- parts/blog-feed.php | 29 +++++++++++++++++++++ parts/right-sidebar.php | 6 ++--- scss/_structure.scss | 4 +++ 6 files changed, 99 insertions(+), 7 deletions(-) create mode 100644 page-1257.php create mode 100644 parts/blog-feed.php diff --git a/front-page.php b/front-page.php index 0931432..1ec686e 100644 --- a/front-page.php +++ b/front-page.php @@ -22,7 +22,7 @@

- +
@@ -41,11 +41,14 @@ get_template_part('parts/glm-blocks'); ?> +
+ +
+ +
+ + + + + + + + + diff --git a/page.php b/page.php index 57477d0..0fb9461 100644 --- a/page.php +++ b/page.php @@ -2,7 +2,7 @@
- +
@@ -29,7 +29,7 @@
-
diff --git a/parts/blog-feed.php b/parts/blog-feed.php new file mode 100644 index 0000000..53bcf61 --- /dev/null +++ b/parts/blog-feed.php @@ -0,0 +1,29 @@ + 3, 'order_by' => 'date'); + $lastposts = get_posts( $args ); + if ($lastposts) { ?> + +
+
+

Recent News

+ +
+ ID, array(130, 130)); ?> + +
+ +
+
+ +
+ +

+

ID); ?>

+ +

+
+
+ +
+
+ \ No newline at end of file diff --git a/parts/right-sidebar.php b/parts/right-sidebar.php index aa3cae8..2218182 100644 --- a/parts/right-sidebar.php +++ b/parts/right-sidebar.php @@ -1,8 +1,8 @@
__( '

Enter your Sidebar content here. Leave this blank ' - . 'to remove the sidebar area once more

', 'text-domain' ), +echo get_the_block( 'sidebar', array( + 'label' => __( '

Enter your Sidebar content here. Leave this area' + . 'blank to remove the sidebar area.

', 'text-domain' ), 'type' => 'editor', 'apply_filters' => true, ) ); diff --git a/scss/_structure.scss b/scss/_structure.scss index 01fa91e..2a76b67 100644 --- a/scss/_structure.scss +++ b/scss/_structure.scss @@ -47,6 +47,7 @@ header { #search-button { width: 26px; right: 0px; + top: 0px; position: absolute; padding: 0; color: white; @@ -609,6 +610,9 @@ input[type="submit"].blogbutton { color: white; } } +.blog-feed-post { + margin-bottom: 20px; +} #blog-posts-over article { padding-top: 10px; margin-bottom: 15px; -- 2.17.1