Created
May 3, 2013 04:47
-
-
Save iammahmudur/5507261 to your computer and use it in GitHub Desktop.
This will replace the word 'term' with taxonomy name.
Plugin: http://wordpress.org/extend/plugins/cpt-onomies/
File: js\admin-post.js
Line: 236
Example: https://www.diigo.com/item/image/3wpgc/uyow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set error message | |
$cpt_onomies_add_tag_error_message = cpt_onomies_admin_post_L10n.term_does_not_exist.replace( /term/g, $taxonomy ) + ' <a href="post-new.php?post_type=' + $taxonomy + '" target="_blank">' + cpt_onomies_admin_post_L10n.add_a_term.replace( 'term', ' new ' + $taxonomy ) + '</a>'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment