I know it is recommended to use loco translate to change static text, but my tech support/developer says they can apply some functions. Does anyone have experience with this and recommend one over the other? That’s the only info I have at this point, so also looking for guidance on what I should ask/expect from them. Thank you!!
Hi,
Could you please provide an example of which static text you’d like to change, and clarify if your developer explained why this needs to be done via code? Understanding the exact use case will help us advise more accurately.
In general, all static texts in our products are wrapped with WordPress translation functions. The recommended and best-practice approach is to use Loco Translate (or a similar WordPress translation tool) to modify these texts. This way, translations are handled externally, without changing theme or plugin files directly.
If the text is modified directly in files (for example, via a child theme), you’ll need to track and compare those files on every update and reapply changes if needed, which significantly increases maintenance effort. Using Loco avoids this, as it doesn’t require file changes and is update-safe, so we strongly recommend this approach.
The text on both buttons in the header “list a service” and “post a request”. Is it also possible to re-arrange these so the one that is designed to look like an actual button is on the far right?
Thanks for the details.
If there’s no conditional logic involved and no specific need to use PHP code, we highly recommend sticking with Loco Translate or a similar translation tool. These tools keep all your changes intact even after plugin updates, which makes maintenance much easier.
Regarding swapping the buttons, you can achieve this with CSS. Please start with this snippet and adjust it to your needs:
.hp-menu--site-header .hp-menu__item--listing-submit {
order: 2;
}
.hp-menu--site-header .hp-menu__item--request-submit {
order: 1;
margin-right: 10px;
}
Hope I helped with your request.
Thank you!
Glad to help!
Wishing you a lovely weekend. ![]()
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.