From: Laury GvR Date: Wed, 8 Jul 2015 19:08:32 +0000 (-0400) Subject: Sidebar hopefully removed on request brochures page. X-Git-Tag: v1.0.0~49^2~141 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=33b49953cade2bc38ce6ab8dc1b391eb511e021c;p=WP-Themes%2Fcrawfordco.git Sidebar hopefully removed on request brochures page. --- 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;