Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Genesis Customizer Footer Text

Replaces the Genesis footer with text set in the customizer

<?php

// Replace Footer text
remove_action( 'genesis_footer', 'genesis_do_footer' );

add_action( 'genesis_footer', 'scl_custom_footer' );

function scl_custom_footer() {
	echo get_theme_mod( 'scl_footer_text', '&copy; ' . get_option( 'blogname' ) );
}

add_action( 'customize_register', 'scl_customizer_sections' );

function scl_customizer_sections( $wp_customize ) {
	$wp_customize->add_section( 'scl_footer', array(
		'title' => 'Footer Text',
		'priority' => 105,
		'capability' => 'edit_pages',
	) );
 
	$wp_customize->add_setting( 'scl_footer_text', array(
		'default' => '',
		'sanitize_callback' => 'scl_sanitize_footer_text',
		'transport' => 'postMessage',
	) );
 
	$wp_customize->add_control( 'scl_footer_text', array(
		'label' => 'Footer text (copyright, etc.)',
		'section' => 'scl_footer',
		'type' => 'text',
	) );
}

function scl_sanitize_footer_text( $input ) {
    return wp_kses_post( force_balance_tags( $input ) );
}