I’ve seen various tutorials on how to modify the menu items of a WordPress Site’s admin, but I’m trying to find a tutorial or way on how to modify the actual admin page labels. Here’s what I mean:
When you are in the back end and you hover over SETTINGS, and click GENERAL, a page comes up with, of course, the general settings for the site. The labels for each input field are as follows: SITE TITLE, TAGLINE, WORDPRESS ADDRESS(URL), SITE ADDRESS(URL), etc.
I’m looking to add a function to my functions.php for a theme that will allow me to change these labels
Is this even possible? Or do I just have to hard code it in?
You can modify the labels using
gettext
filter hook ex:There are no filters applied to those labels, hence you cannot change it using a straight forward way. You may have to use a jQuery script for doing so. Don’t hard code it, hard coding in core files is very bad!
The only things you can change in the General Settings page are the
date formats
and thetime formats
.