Skip Navigation

[Resolved] add placeholder text to filter search box

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

Problem:

The attribute "placeholder" of [wpv-filter-search-box] does not work.

Solution:

It is problem of old version of Toolset Views plugin, you can upgrade it to latest version and test again.

Relevant Documentation:
https://toolset.com/documentation/user-guides/views-shortcodes/#vf-155460

This support ticket is created 4 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 9 replies, has 2 voices.

Last updated by Dave 4 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#1289209

I am trying to: add the word "Search" to the search box

Link to a page where the issue can be seen: hidden link

I expected to see: the text I entered

Instead, I got: nothing

According to the shortcode reference (https://toolset.com/documentation/user-guides/views-shortcodes/#vf-155460) there's an attribute for placeholder. It doesn't seem to work.

#1289271

Hello,

I have tried the shortcode [wpv-filter-search-box placeholder="Search" output="bootstrap"] in my localhost with a fresh WordPress installation + the latest version of Toolset Views plugin, it works fine.

And you are using old version of Views plugin 2.3.1, it might conduct unexpected result.

I suggest you try these:
1) Backup your website first.
2) Upgrade to the latest version of Toolset plugins, and test again.
You can download them here:
https://toolset.com/account/downloads/

#1290773

That fixed it.

Any idea why the site's never shown that Views was out of date?

#1291309

There isn't Types plugin in your website, the Toolset Automatic Installation requires Toolset Types plugin, see our document
https://toolset.com/faq/how-to-install-and-register-toolset/#automatic-installation-once-you-have-types-plugin-installed
section "Automatic Installation (once you have Types plugin installed)"

You can install Types plugin in your website, and follow above document to setup the site key, and test again.

#1292073

What? That is so weird! The site was originally built with ACF and CPT UI, so I don't need Types. I have to install it just to have auto-update working? Yikes!

ACF is overall a stronger tool for custom field groups, so I prefer using it, and I'm surprised I have to install Types for such a basic function.

#1292237

That is mentioned in our document, you can also upgrade Views plugin manually.

#1293033

Still, it's an odd choice to make. I don't mind updating manually, but not having the expected notice in WordPress isn't terribly user-friendly.

#1293191

It needs a feature request, you can add it here, our developers will evaluate it:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

#1293235

Thanks, I'll put the suggestion in there.

#1293237

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.