Ask your WordPress questions! Pay money and get answers fast! (more info)

Rename "Publish immediately" and "Published on:" in post metabox


<em>Rename "Publish immediately" and "Published on:" in post edit metabox</em>

I'm looking for a way to rename the text "Publish immediately" and "Published on:" in the post edit Publish metabox.

I'm using [[LINK href=""]]this plugin[[/LINK]] to rename "Publish immediately" but it won't rename "Published on:"

[[LINK href=""]][[/LINK]]

Answers (3)


Navjot Singh answers:

As Glenn already mentioned, you need to put the whole replacement text in your plugin settings box.

So instead of trying to replace just 'Published on:' put the following

Published on: <b>%1$s</b>

Also my suggestion would be to use plugin for your needs. Quick Localisation is pretty much outdated and is no longer supported. For the latest WordPress, it throws too many notices and can stop working at anytime.

pjeaje comments:

Bingo! [[LINK href=""]][[/LINK]] did the trick... thanks.


Jayaram Y answers:

Can you post the screenshot of the admin panel on how you are adding.

pjeaje comments:

I have... Click the second link in my question


Glenn Tate answers:

I know it's taboo to edit core files but the line is 170 in wp-admin/includes/meta-boxes.php

I think you need to put the whole string in the plugin to change it.

$stamp = __('Published on: <b>%1$s</b>');

pjeaje comments:

I don't want to change the core files

pjeaje comments:

This might help... I couldn't get this to work, maybe you can?

[[LINK href=""]][[/LINK]]