Using CSS might work as a workaround. ?? Here is a CSS example that hides the empty field completely:
[title="Tags"].fee-field {
display: none;
}
Or here is a CSS example that changes “[empty]” to “[edit tags]”
[title="Tags"].fee-field {
visibility: hidden;
}
[title="Tags"].fee-field:before {
content: "[edit tags]";
visibility: visible;
}
Or another option would be to edit the plugin code directly, however, it’s not advised because any changes will get overwritten when the plugin is updated and you should always keep your plugins updated.
In php/fields/base.php
, you can change the placeholder text for all cases from “empty” to “edit this” by changing this line:
return '[' . __( 'empty', 'front-end-editor' ) . ']';
to this:
return '[' . __( 'edit this', 'front-end-editor' ) . ']';
Or, in php/fields/post.php
, you can change the placeholder text for tags only by replacing this line:
$content = $this->placehold( $content );
with this one instead:
$content = '[Add some tags]';