Problem in display authors and comments
Opened this issue · 5 comments
Hello,
I have a problem in the display of the authors names and comments.
First, comments is translated as "comentrios" and it should be "comentários".
Second, the "by" (por in portuguese) that comes before the author name is before the comments, as you can see in the picture.
How can i fix these?
Thank you,
Vanessa
Additional Information:
Divi Version: 3.0.18
I'm having the same problem.
@nutriative Solution:
In "www/wp-content/plugins/divi-100-article-card/assets/js/scripts.js" replace the section "Get existing comment and appends it to post comment" for this code:
var comments = postMeta.text().split("|");//.replace(/[^a-zA-Z0-9 ]/g, "").replace("by", "").trim();
if (comments.length > 2) {
$('<span class="article-card__comments">' + comments[3] + '</span>')
.appendTo($this.find('.article-card__meta'));
}
Thank you @Mamedio, but I didn't find this section - Get existing comment and appends it to post comment.
The section is inside the "scripts.js" file in the "wp-content / plugins / divi-100-article-card / assets / js / scripts.js"
Use "CTRL + F" to find
ok! @Mamedio.
I did it, but no change was observed.
Thank you!