Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

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

  • SOLVED

<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="https://wordpress.org/support/topic/replaces-publish-immediately-but-not-published-on?replies=1"]]this plugin[[/LINK]] to rename "Publish immediately" but it won't rename "Published on:"

[[LINK href="http://snag.gy/ScHiX.jpg"]]http://snag.gy/ScHiX.jpg[[/LINK]]

Answers (3)

2015-05-05

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: %1$s

Also my suggestion would be to use https://wordpress.org/plugins/say-what/description/ 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="https://wordpress.org/plugins/say-what/description/"]]https://wordpress.org/plugins/say-what/description/[[/LINK]] did the trick... thanks.

2015-05-05

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

2015-05-05

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: %1$s');


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="http://www.viper007bond.com/2011/07/13/changing-core-wordpress-strings/"]]http://www.viper007bond.com/2011/07/13/changing-core-wordpress-strings/[[/LINK]]