try to modify template file at wp-content/plugins/events-manager/templates/forms/bookingform/booking-fields.php
to use templates: http://wp-events-plugin.com/documentation/using-template-files/
Ok I edited the booking-fields.php file and renamed the comments field.
When a person is logged in to wordpress, aka the ADMIN, I can see the changes and everything is great.
When a person isn’t logged in, it still says “comments”.
The problem is, I have no user booking mode enabled because I don’t want people to have to log in to make bookings.
you can also try something like this
function my_em_text_rewrites($translation, $orig, $domain) {
switch ($orig) {
case 'Comment' :
$translation = 'Notes';
break;
}
return $translation;
}
add_action ( 'gettext', 'my_em_text_rewrites', 1, 3 );
As for where to paste this : http://wp-events-plugin.com/tutorials/how-to-safely-add-php-code-to-wordpress/
(@ccpalting)
10 years, 8 months ago
Hey,
On the events manager plugin there is a little comment box right before users hit the button that registers them for an event.
Does anyone know how I can change the title to say “NOTES” instead of “COMMENTS”
This is the code when inspecting the page
<label for=”booking_comment”>Comment</label>
…but I don’t see that anywhere in the PHP files of the plugin. I’m not very good at this, so any detailed help is appreciated.
http://wordpress.org/plugins/events-manager/