This topic has 4 replies, 2 voices, and was last updated 8 years, 8 months ago ago by Eva Kemp
Hi
I want to change some things in the .php files of the template.
I already try to copy the php files to royal-child folder and change them but it dind’t work.
Is there any way to change template files in roayl-child folder so I don’t lose the changes in template update?
He some files that I want to change:
comments.php
content.php
content-grid.php
single.php
and so on.
Thanks
Hello,
Please provide us with wp-admin panel and FTP credentials in Private Content. Please specify what changes you made in those files.
Regards,
Eva Kemp.
Hi
you have the credentials #post-78371
here some changes:
royal/comments.php
<p><?php _e(‘Comments are closed’, ETHEME_DOMAIN) ?></p>
to
<!– <p><?php _e(‘Comments are closed’, ETHEME_DOMAIN) ?></p> –>
royal/content-grid.php,
royal/content.php,
royal/single.php,
rayal/framework/theme-functions.php
<?php _e(‘by’, ETHEME_DOMAIN);?> <?php the_author_posts_link(); ?>
to
<!–<?php _e(‘by’, ETHEME_DOMAIN);?> <?php the_author_posts_link(); ?>–>
royal/framework/widgets.php
<?php _e(‘by’, ETHEME_DOMAIN) ?> <?php the_author(); ?>
to
<!–<?php _e(‘by’, ETHEME_DOMAIN) ?> <?php the_author(); ?>–>
I was reading about child themes in wordpress. we can only change the style.css and add some functions? they are not really “child themes” where we can change anything in any file?
Thanks
Bruno Silva
Hello,
I’ve added comments.php file to royal-child folder and edited it. “Comments are closed” text isn’t shown. Please check.
Also I’ve copied the files to child theme directory and commented the code you mentioned. If you want to make changes in “framework” folder you need copy the function code from the needed file to functions.php file of the child theme, this is what I’ve done.
Please check your site now.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up