initial upload

This commit is contained in:
2026-04-20 22:55:59 +02:00
commit 56a8b97875
115 changed files with 43622 additions and 0 deletions
@@ -0,0 +1,5 @@
<?php
function zeitfresser_get_default_footer_copyright() {
return "Zeitfresser ©";
}
@@ -0,0 +1,26 @@
<?php
/* Add Default Copyright Text */
require dirname( __FILE__ ) . '/default-footer-copyright.php';
add_action( 'customize_register', 'zeitfresser_customize_register_footer_copyright' );
function zeitfresser_customize_register_footer_copyright( $wp_customize ) {
$wp_customize->add_section( 'daisy_blog_footer_copyright_section', array(
'title' => esc_html__( 'Footer Copyright', 'zeitfresser' ),
'priority' => 24
) );
$wp_customize->add_setting( 'footer_copyright_text', array(
'sanitize_callback' => 'wp_kses_post',
'default' => zeitfresser_get_default_footer_copyright()
) );
$wp_customize->add_control( 'footer_copyright_text', array(
'label' => esc_html__( 'Copyright Text', 'zeitfresser' ),
'section' => 'daisy_blog_footer_copyright_section',
'settings' => 'footer_copyright_text',
'type'=> 'textarea',
) );
}