• Hello!

    So I’m trying to change the comments title. This website (franciscoart.altervista.org)is my father’s and is in Italian, so it seems that since WordPress language is Italian it automatically translate the theme also. Only the string “Leave a reply” is translated in “Lascia una risposta”, but we would like to have “Lascia un commento”.
    Now. I tried to do something like this in the comments.php:

    <?php if ( have_comments() ) : ?>
    		<h2 class="comments-title" => "Lascia un commento">

    Not working. I tried installing Loco translate. Not working. I tried with CSS (no idea if the code is right, though):

    .entry-title {
      content: 'Lascia un commento';
      visibility: visible;
      display: block;
      line-height: initial;
    }

    Not working.
    So I don’t know how to change this comment title in “Lascia un commento”.

    Any ideas?

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author modernthemesnet

    (@modernthemesnet)

    Hello,

    This is generated via a function within the theme. You could manually translate it by entering the main theme folder and navigating to inc > template-tags.php

    You will find the “Leave a Comment” string on line 122, and can change it to anything you would like.

    Thanks!

    Thread Starter duefiliderba

    (@duefiliderba)

    Thank you! I eventually installed Disqus and solved the problem ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change comments title’ is closed to new replies.