- +
+ + + + -
+
diff --git a/functions.php b/functions.php index b175441..e92ac93 100644 --- a/functions.php +++ b/functions.php @@ -8,6 +8,9 @@ */ require get_template_directory() . '/inc/menu-walker.php'; require get_template_directory() . '/inc/navigation.php'; + +DEFINE("BLOCKS_FRONT_TOP_GROUP",65980); + if ( ! function_exists( 'wmta_setup' ) ) : /** * Sets up theme defaults and registers support for various WordPress features. @@ -16,6 +19,8 @@ if ( ! function_exists( 'wmta_setup' ) ) : * runs before the init hook. The init hook is too late for some features, such * as indicating support for post thumbnails. */ + + function wmta_setup() { /* * Make theme available for translation. @@ -27,6 +32,9 @@ function wmta_setup() { // Add default posts and comments RSS feed links to head. add_theme_support( 'automatic-feed-links' ); + + // Add image size for glm block + add_image_size('glm-block-image-front-top', 550, 300,true); /* * Let WordPress manage the document title. diff --git a/glm-dev/scss/_frontpage.scss b/glm-dev/scss/_frontpage.scss new file mode 100644 index 0000000..057b907 --- /dev/null +++ b/glm-dev/scss/_frontpage.scss @@ -0,0 +1,23 @@ +.glm-blocks { + .glm-block { + a { + text-decoration: none; + color: $blue; + &:hover { + text-decoration: underline; + } + } + h4 { + color: $blue; + font-family: "Roboto", sans-serif; + font-size: 28px; + font-weight: bold; + text-transform: uppercase; + } + p { + color: rgb(135, 135, 135); + font-family: "Roboto", sans-serif; + font-size: 16px; + } + } +} \ No newline at end of file diff --git a/glm-dev/scss/glm-dev.scss b/glm-dev/scss/glm-dev.scss index cd8e543..f26c1e6 100644 --- a/glm-dev/scss/glm-dev.scss +++ b/glm-dev/scss/glm-dev.scss @@ -46,6 +46,7 @@ @include foundation-float-classes; @import 'header'; @import 'body'; +@import 'frontpage'; @import 'footer'; @import 'off-canvas'; @import 'glm-member-db'; diff --git a/template-parts/glm-blocks-front-top.php b/template-parts/glm-blocks-front-top.php new file mode 100644 index 0000000..561a921 --- /dev/null +++ b/template-parts/glm-blocks-front-top.php @@ -0,0 +1,36 @@ + + + +
+ +