I guess that is output from WP core function, if that’s the case, we can use a translate plugin to translate(change) that particular text strings to our own.
This plugin for example (or many others that do the same thing)
https://ww.wp.xz.cn/plugins/say-what/
@paulwp, thank you, but I can’t define “text domain” and “text context” for this topic
If you can help, I will be glad.
Here is the theme source code: https://themes.trac.ww.wp.xz.cn/browser/davis/1.19
@fedorov
Copy and paste this into Original string area
You must be <a href="%s">logged in</a> to post a comment.
Just leave Text domain and Text context empty, and put in your Replacement text. It works, I just tested it in my local installation.
For those who are curious, the string is taken from this line #L2374
https://core.trac.ww.wp.xz.cn/browser/tags/5.3/src/wp-includes/comment-template.php#L2374
@paulwp, The fact is that there is no such line in the Davis theme
https://themes.trac.ww.wp.xz.cn/browser/davis/1.19
Theme calls this standard WP function comments_template() in this line #L144
https://themes.trac.ww.wp.xz.cn/browser/davis/1.19/index.php#L144
which pulls up WP core comments template (linked in my previous answer), and we look inside it to find that exact string of text for the plugin to replace.
@paulwp Please tell me specifically the code and where to embed it?
All my attempts failed 🙁
Please re-read my answer above, maybe you missed it? or maybe I misunderstood your second question about “there is no such line in the Davis theme”.
Let’s forget all that, and get back to the plugin.
Install and activate that plugin, navigate to plugin settings page, add new, and copy the code (provided in my answer above) paste into Original string area. Leave Text domain/context empty. Fill in your Replacement text. And that’s it, done.
It does really work, I tested it in my local installation. There is no need to edit/embed anything at all.
@paulwp thank you so much. It worked
You’re welcome! happy to help 🙂