wp admin - How to change labels in the projects page

admin2025-06-04  2

​I want to change labels in this page ex: Client -> Owner What is the file name where I can change these labels from?

screenshot:

.jpg

I tried to do it by javascript, but it caused effect on all website pages, on previewing, editing or updating, the page turns to white.

This is my piece of code

echo "<script type='text/javascript'>
            window.onload = replaceTxt; 
             function replaceTxt() {
             var vr1 = document.getElementById('_bunch_bunch_projects_settings[client]').childNodes[1].childNodes[1].innerHTML;

             var vr11 = vr1.replace('Client','Owner');
}
             </script>";

​I want to change labels in this page ex: Client -> Owner What is the file name where I can change these labels from?

screenshot:

https://snag.gy/75oUTb.jpg

I tried to do it by javascript, but it caused effect on all website pages, on previewing, editing or updating, the page turns to white.

This is my piece of code

echo "<script type='text/javascript'>
            window.onload = replaceTxt; 
             function replaceTxt() {
             var vr1 = document.getElementById('_bunch_bunch_projects_settings[client]').childNodes[1].childNodes[1].innerHTML;

             var vr11 = vr1.replace('Client','Owner');
}
             </script>";
Share Improve this question asked Jan 27, 2019 at 23:54 Marwa EllethyMarwa Ellethy 1
Add a comment  | 

1 Answer 1

Reset to default 0

"Projects" are a common Custom Post Type. How is yours generated? However it is done, if it is done properly, the labels will have language strings that can be translated for localization/internationalization with any number of plugins that offer this functionality.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1748969477a315252.html

最新回复(0)