Skip Navigation

[Resolved] Editing label of distance custom search filter

This thread is resolved. Here is a description of the problem and solution.

Problem:
I want to edit the labels of the distance custom search filter ("show search results within", "of " , "enter a location"). How can I edit those labels?
Solution:
Please locate and select the "Distance" field block, in the setting panel, section "Field", option "Text and placeholders for input fields", change it as what you want.

Please check the screenshot in the thread.

The default format is below:
Show results within %%DISTANCE%% of %%CENTER%%

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 1 reply, has 2 voices.

Last updated by Mateus Getulio 9 months, 1 week ago.

Assisted by: Mateus Getulio.

Author
Posts
#2688696

Hi,

I thought I remembered I could just click and edit the labels of the distance custom search filter ("show search results within", "of " , "enter a location") but I can't seem to do that? How can I edit those labels?

#2688840

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

show_results.jpg

Hello,

Thank you for contacting our support.

Are you using Blocks editor to setup the post view?

If so, please find and select the "Distance" field block, in the setting panel, section "Field", option "Text and placeholders for input fields", change it as what you want. Please check my screenshot.

The default format is below:
Show results within %%DISTANCE%% of %%CENTER%%

Thank you, please let us know.

#2688860

Thanks, I did find the "Text and placeholders for input fields" but didn't know which format I should use so I couldn't get it to work.