I would like to change the title in the comment field in the bottom of the post section from "Leave a reply" to "Post a comment" as this makes more sense if there are no comments on the post initially.
I can see in plenty of Wordpress forums how to achieve this with code like this:
function wpb_comment_reply_text( $link ) {
$link = str_replace( 'Leave a reply', 'Post a comment', $link );
return $link;
}
add_filter( 'comment_reply_link', 'wpb_comment_reply_text' );
But adding this to either functions.php or a13_framework_cpt.php doesnt change this.
Any ideas?
Thanks
Comments
You tried in proper place(functions.php), but had wrong code, for different thing(for link probably), and you want to change title. Add this to funtions.php With kind regards.
Now I have a slight concern. As you know I have made quite a few template file changes over the last few days, but I have just seen that there is an update to the theme available on themeforest!
I take it that if I install this update, I would undo everything I have added? I am using the parent theme from what I understand, so do you know a suitable work around to replace everything but the updated files? Do you have some sort of change log that has the decription of what template files have been changed in your update maybe, so I can check it wont conflict with the changes I have since made?
Whats the best work around so that I can get the updates, but still keep my changes?
Thanks
So in short,
Things added in functions.php have to be moved to same file in child theme.
CSS changes to Custom CSS field.
With kind regards.
Having looked at the change log, none of the changes really apply to me so I might not update, I am just worried I will undo a lot of hard work I have put in over the last month to get the site looking the way it does!
Explained how to do it http://apollo13.eu/docs/apollo13_framework_theme/#!/modification_of_theme_changing_theme_functions
Plugin probably will not be updated as it is very basic, so your changes there should be safe. In any case you always have archive of your topics here :-) I think you have to explain me this one. You will, as whole main theme will be removed on update, so only that what is saved in Database and child theme will be safe.
With kind regards.