GeneratePress: Edit Footer Credits via Child Theme Functions

PROBLEM Edit footer credits using child theme function (filter) for WordPress (free) GeneratePress theme. SOLUTION /** * Edit Footer credits */ function fwuk_change_footer_credits ($copyright) { $copyright = sprintf( ‘© %1$s %2$s • %4$s %6$s’, date(‘Y’), get_bloginfo(‘name’), esc_url(‘https://freelanceworks.co.uk/privacy-policy/’), __(‘Privacy Policy’,’generatepress’), esc_url(‘https://wordpress.org’), __(‘Powered by WordPress’,’generatepress’) ); return $copyright; } add_filter ( ‘generate_copyright’ , ‘fwuk_change_footer_credits’, 10, 1 );

CF7 FORM

    ELEMENTOR PRO FORM