Okay
  Public Ticket #1305933
Remove "from" text in Rooms
Closed

Comments

  • Mehdi started the conversation

    Hello,

    I am trying to make a website for a B&B with the Mykonos Resort theme, but I'm having an issue with the "from" text that automatically appears below every single room. The site has to be in two languages Italian and English. Is there a way to change the "from" text or remove it altogether?

    Attached files:  ticket.png

  •  332
    Vasilis replied

    Hi there,


    you can use Loco Translate(https://www.wordpress.org/plugins/loco-translate/) plugin to change all your strings to your preference.

    After Installing the plugin you can navigate to Loco Translate->Themes and select your theme. Then if your WordPress language is in English (US) click on the https://goo.gl/qCbywH English language and start changing your strings to your preference.
    If you have another language as a WordPress default add it from Loco Translate's New Language button and repeat the above procedure for your new language.

    Search for this string

    From %s
    
  • Mehdi replied

    Thank you very much!

  •  332
    Vasilis replied

    Let me know if you experience any issues.

  • Mehdi replied

    Dear Vasilis,

    I've been trying, without any luck, to get the text in services to wrap to the next line. I tried using br, p and div tags, but none of them worked. When I inspect element I see that the tags are gone. When I go to the post page the text wraps correctly, but in the Services page it doesn't.  Is there any way to fix this?

    Attached files:  Service.png
      Post.png

  •  332
    Vasilis replied

    Hi there,

    excerpts by default dont allow HTML (so all tags will be stripped). You can add the complete code from the first answer here https://wordpress.stackexchange.com/questions/141125/allow-html-in-excerpt in your functions.php to solve this.

    Let me know if this works