Error:- Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.
Bellow is my funtion.php file
_____________________________
<?php
/*This file is part of gptheholiBN, generatepress child theme.
All functions of this file will be loaded before of parent theme functions.
Learn more at https://codex.www.ads-software.com/Child_Themes.
Note: this function loads the parent stylesheet before, then child theme stylesheet
(leave it in place unless you know what you are doing.)
*/
if ( ! function_exists( ‘suffice_child_enqueue_child_styles’ ) ) {
function gptheholiBN_enqueue_child_styles() {
// loading parent style
wp_register_style(
‘parente2-style’,
get_template_directory_uri() . ‘/style.css’
);
wp_enqueue_style( ‘parente2-style’ );
// loading child style
wp_register_style(
‘childe2-style’,
get_stylesheet_directory_uri() . ‘/style.css’
);
wp_enqueue_style( ‘childe2-style’);
}
}
add_action( ‘wp_enqueue_scripts’, ‘gptheholiBN_enqueue_child_styles’ );
/*Write here your own functions */
add_filter( ‘generate_copyright’,’tu_custom_copyright’ );
function tu_custom_copyright() {
?>
Your new message in here. You can add anything you want, including PHP and HTML.
<?php
}