Viewing 1 replies (of 1 total)
  • Plugin Support urosjovanovic

    (@urosjovanovic)

    Hello,

    It looks like you’re trying to modify the booking text in Amelia to display “x 1 lane” instead of “x 1 person.” Since there’s no direct option in Amelia for this, you’d likely need to customize the language or override some of the default strings.

    Here’s what you can try:

    1. Customizing Translations (via WPML or Loco Translate plugin):
      • You can use a plugin like Loco Translate to modify the language strings in the Amelia plugin.
      • Install and activate Loco Translate, go to Loco Translate > Plugins, then select Amelia.
      • Search for the string that shows “x 1 person” and replace it with “x 1 lane.”
      • Save the changes, and it should update on the front end.
    2. Custom Code (if you’re comfortable with it):
      • You can also add a custom code snippet to change the string, using a filter hook if Amelia allows for this. If you’re using a child theme, add the code below to your functions.php:
      phpCopyEditadd_filter('amelia_booking_string', function($string) { if (strpos($string, 'x 1 person') !== false) { $string = str_replace('x 1 person', 'x 1 lane', $string); } return $string; });

    Let me know if this helps, or if you’d like more guidance!

Viewing 1 replies (of 1 total)

The topic ‘Remove wording’ is closed to new replies.