Hello,
Newbie in WordPress here! I’m doing my first WordPress website for my studies. Final step is to create a child theme of Neve to change the copyright mention in the footer and I need help.
I’ve created neve-child with the files style.css
/*
Theme Name: Neve Child Theme
Description: Thème enfant du theme neve
Author: Lucile
Template: neve
Version: 1.0
License: GNU General Public License v2 or later
License URI:
Text Domain: neve-child
*/
functions.php
<?php
add_action( ‘wp_enqueue_scripts’, ‘neve_child_enqueue_styles’ );
function neve_child_enqueue_styles() {
wp_enqueue_style( ‘neve-child-style’, get_stylesheet_uri(), array( ‘neve-style’ ));
}
?>
and rtl.css
/*
Theme Name: Neve Child
Template: neve
*/
After activating the child theme, my website ) works well. In the source code of the homepage given by my browser, neve-child-style is loaded after neve-style.
So everything’s fine until there, right?
​
I tried to change the copyright using u/SummerChilde ‘s method: So in footer.php, I replace lines 133 to 140 by
$output = ‘<div class=”builder-item”><div class=”item–inner”><div class=”component-wrap”><div><p>Design graphique | Lucile</p></div></div></div></div>’;
Weird thing is :
* it works when I make the change in the parent theme, both when parent or child theme are activated;
* it doesn’t work when I make the change in the file with the good directory in the child theme.
As I’m french, the copyright is in english in footer.php and translated in french on my website. So, I suppose another function acts on this div.
Can it block my modification ?
Is there a protective function to prevent copyright change ?
[ad_2]
In the Neve theme I don’t think you have to mess with the theme files to change the copyright in the footer. In the WP Admin, go to Appearance > Customize. Then click on Footer. There’ you should be able to adjust the bottom footer section that has the copyright html.