$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>wp admin - How to change labels in the projects page|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

wp admin - How to change labels in the projects page

matteradmin10PV0评论

​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.

Post a comment

comment list (0)

  1. No comments so far