From 56cc24346fca867888159da57180c1c75a18aefc Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Tue, 8 Mar 2022 12:28:51 +0100 Subject: [PATCH] fixes --- functions.php | 23 +++++++++++++++++++++++ index.php | 13 +++++++++---- style.css | 8 ++++++++ 3 files changed, 40 insertions(+), 4 deletions(-) diff --git a/functions.php b/functions.php index 7253f87..55782ca 100644 --- a/functions.php +++ b/functions.php @@ -20,3 +20,26 @@ function fachwerksauna_setup() { } add_action( 'after_setup_theme', 'fachwerksauna_setup' ); + +function theme_customize_register( $wp_customize ) { + + $wp_customize->add_setting( 'fachwerksauna_footer-text', array( + 'default' => '', + 'type' => 'option', + 'capability' => 'edit_theme_options' + ),); + + $wp_customize->add_control( new WP_Customize_Control( + $wp_customize, 'footer-text_control', array( + 'label' => __( 'Footer text', 'fachwerksauna' ), + 'description' => __( 'Text in footer area', 'fachwerksauna' ), + 'settings' => 'fachwerksauna_footer-text', + 'priority' => 10, + 'section' => 'title_tagline', + 'type' => 'text', + ) + ) ); + +} + +add_action( 'customize_register', 'theme_customize_register' ); \ No newline at end of file diff --git a/index.php b/index.php index bc10af5..d0a2b3c 100644 --- a/index.php +++ b/index.php @@ -175,16 +175,21 @@
- Presseanfragen bitte an simon.brose@gmail.com +
Sitemap
    -
  • Impressum
  • -
  • Datenschutz
  • + 'footer', + 'container' => false, + 'items_wrap' => '%3$s', + ) ); + ?>
- Presseanfragen bitte an simon.brose@gmail.com
+
diff --git a/style.css b/style.css index 868dd0d..c933325 100644 --- a/style.css +++ b/style.css @@ -498,6 +498,14 @@ html.has-navbar-fixed-top { margin-bottom: 12px } +.footer ul { + padding-left: 0px; +} + +.footer .columns .column:nth-child(2) { + flex-grow: 0 !important; +} + .footer a { color: #E9E9E9 }