Support » Theme: Simone » Changing Leave a Reply to Leave a Comment

  • I would like to change Leave a Reply to Leave a Comment.
    Which file do I alter?
    Should I be looking in functions.php – but I cannot find anything to change there.

    The Simone theme is just what I’ve been searching for.

    Regards from Australia

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hey there Dingo,

    How are you doing today?

    This should be possible to change by using theme translation files, if the theme that you’re using doesn’t have one or you’re having issues changing this you can try using this plugin as an alternative https://wordpress.org/plugins/real-time-find-and-replace/.

    It allows you to replace any text with the text of your choice.

    Hope this helps 🙂

    Cheers,
    Bojan

    Many thanks Bojan.

    I finally located the text at line 2264 of the comment-template.php file in the wp-includes folder.

    It was within the defaults array:

    $defaults = array(

    then go down to:

    ‘title_reply’ => __( ‘Leave a Comment’ ),

    The default had been ‘Leave a Reply’ So now I’m happy.

    I hope this helps someone else.

    I love the Simone theme, but have much to learn about its hidden power.

    Cheers from Australia

    Hey Dingo,

    Glad you managed to figure that one out. However, I wouldn’t recommend editing WordPress core files.

    You can achieve the same effect with the plugin I mentioned above.

    Also first time you update WordPress this change will be lost.

    Hope this helps 🙂

    Cheers,
    Bojan

    Hey Bojan

    Thanks for your wise advice. I’m aware that editing core files is a serious crime; however, it taught me a lot – and I promise not to do it again.

    Cheers,
    Dingo

    Glad I could help 🙂

    Cheers,
    Bojan

    @bojan It not a serious crime but your changes are likely to be overwritten when WordPress updates.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Changing Leave a Reply to Leave a Comment’ is closed to new replies.