From: Laury GvR Date: Mon, 27 Feb 2017 15:57:55 +0000 (-0500) Subject: Implementing the Glm Simple Messageboard plugin X-Git-Tag: v1.0.0^2~26 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=740a0ecfc308ee1c879aaf60c6eff96d80a22887;p=WP-Themes%2Fturkeyville.git Implementing the Glm Simple Messageboard plugin --- diff --git a/functions.php b/functions.php index 8ee2c65..c30e5a7 100644 --- a/functions.php +++ b/functions.php @@ -157,4 +157,18 @@ add_action( 'after_setup_theme', 'woocommerce_support' ); function woocommerce_support() { add_theme_support( 'woocommerce' ); } + +// The GLM Simple Messageboard needs this function to display its data +if ( !function_exists( 'glm_get_simplemessageboard_option' ) ) { + function glm_get_simplemessageboard_option( $option_name ) + { + $settings = get_option( 'glmsimplemessageboard_settings' ); + if ($settings && array_key_exists( $option_name, $settings ) ) { + return $settings[ $option_name ]; + } else { + return null; + } + } +} + ?> diff --git a/sections/front-page.php b/sections/front-page.php index 001f6ba..e836de6 100644 --- a/sections/front-page.php +++ b/sections/front-page.php @@ -13,13 +13,19 @@
-
- -
-
-

Today’s Lunch Special

-

I'm friends with the monster that's under my bed. Get along with the voices inside fo my head. You trying to save me, stop holding your breath. And you think I'm crazy, yeah, you think I'm crazy

-
+ + +
+ +
+
+

+ +

+ +
+ +