diff --git a/front-page.php b/front-page.php index a25fdd9..99da11c 100644 --- a/front-page.php +++ b/front-page.php @@ -35,7 +35,7 @@ $hero_bg = get_theme_mod('hero_background_image', get_template_directory_uri() . while (have_posts()): the_post(); ?> - + -
-
-

Receive weekly insights directly in your inbox.

-

Join our community and get our latest thoughts sent straight to you. -

-
-
- - -
-
-
-
+ 'wisdom1_hero_section', 'settings' => 'hero_background_image', ))); + + // Add Newsletter Section + $wp_customize->add_section('wisdom1_newsletter_section', array( + 'title' => __('Newsletter Section', 'wisdom1'), + 'priority' => 35, + )); + + // Newsletter Headline + $wp_customize->add_setting('newsletter_headline', array( + 'default' => 'Receive weekly insights directly in your inbox.', + 'sanitize_callback' => 'sanitize_text_field', + )); + $wp_customize->add_control('newsletter_headline', array( + 'label' => __('Headline', 'wisdom1'), + 'section' => 'wisdom1_newsletter_section', + 'type' => 'text', + )); + + // Newsletter Subheadline + $wp_customize->add_setting('newsletter_subheadline', array( + 'default' => 'Join our community and get our latest thoughts sent straight to you.', + 'sanitize_callback' => 'sanitize_text_field', + )); + $wp_customize->add_control('newsletter_subheadline', array( + 'label' => __('Subheadline', 'wisdom1'), + 'section' => 'wisdom1_newsletter_section', + 'type' => 'textarea', + )); + + // Newsletter Button Text + $wp_customize->add_setting('newsletter_button_text', array( + 'default' => 'Subscribe', + 'sanitize_callback' => 'sanitize_text_field', + )); + $wp_customize->add_control('newsletter_button_text', array( + 'label' => __('Button Text', 'wisdom1'), + 'section' => 'wisdom1_newsletter_section', + 'type' => 'text', + )); } add_action('customize_register', 'wisdom1_customize_register'); diff --git a/single.php b/single.php index 5b90fb8..d865c43 100644 --- a/single.php +++ b/single.php @@ -111,5 +111,7 @@ get_header(); ?> + + +
+

+ +

+

+ +

+
+
+ + +
+
+
+ \ No newline at end of file