Skip Navigation

[Resolved] How do I repliace the title of each filter with a placeholder instead.

This support ticket is created 7 years, 1 month 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 7 years, 1 month ago.

Assisted by: Christian Cox.

Author
Posts
#590931

Hi There,

I have this:

hidden link

I Want to have the titles as a placeholder likes this:

hidden link

Here is my code:

[wpv-filter-start hide="false"]
[wpv-filter-controls]
<div class="form-group">
[wpv-filter-search-box placeholder="Suchbegriff" output="bootstrap"]
</div>
<div class="form-group col-xs-6 col-sm-4">
<label>[wpml-string context="wpv-views"]Aktuelle Themen[/wpml-string]</label>
[wpv-control-post-taxonomy taxonomy="aktuelles-thema" type="select" url_param="wpv-aktuelles-thema"]
</div>
<div class="form-group col-xs-6 col-sm-4">
<label>[wpml-string context="wpv-views"]Zielgruppen[/wpml-string]</label>
[wpv-control-post-taxonomy taxonomy="zielgruppe" type="select" url_param="wpv-zielgruppe"]
</div><div class="form-group col-xs-6 col-sm-4">
<label>[wpml-string context="wpv-views"]Altersgruppen[/wpml-string]</label>
[wpv-control-post-taxonomy taxonomy="altersgruppe" type="select" url_param="wpv-altersgruppe"]
</div><div class="form-group col-xs-6 col-sm-4">
<label>[wpml-string context="wpv-views"]Kategorien[/wpml-string]</label>
[wpv-control-post-taxonomy taxonomy="kategorie" type="select" url_param="wpv-kategorie"]
</div><div class="form-group col-xs-6 col-sm-4">
<label>[wpml-string context="wpv-views"]Orten[/wpml-string]</label>
[wpv-control-post-taxonomy taxonomy="ort" type="select" url_param="wpv-ort"]
</div><div class="form-group col-xs-6 col-sm-4">
<label>[wpml-string context="wpv-views"]Dauer[/wpml-string]</label>
[wpv-control-post-taxonomy taxonomy="dauer" type="select" url_param="wpv-dauer"]
</div><div class="form-group col-xs-6 col-sm-4">
<label>[wpml-string context="wpv-views"]Teilnehmerzahl[/wpml-string]</label>
[wpv-control-post-taxonomy taxonomy="teilnehmerzahl" type="select" url_param="wpv-teilnehmerzahl"]
</div><div class="form-group col-xs-6 col-sm-4">
<label>[wpml-string context="wpv-views"]Publikationen[/wpml-string]</label>
[wpv-control-post-taxonomy taxonomy="publikation" type="select" url_param="wpv-publikation"]
</div><div class="form-group col-xs-6 col-sm-4">
<label>[wpml-string context="wpv-views"]Download oder Print?[/wpml-string]</label>
[wpv-control-post-taxonomy taxonomy="download-oder-print" type="select" url_param="wpv-download-oder-print"]

</div>

[wpv-filter-submit name="Suche starten" output="bootstrap"][/wpv-filter-controls]
[wpv-filter-end]

Thank you

#591047

Hi, you can use the "default_label" attribute on a taxonomy filter to define this text for each filter:

[wpv-control-post-taxonomy taxonomy="download-oder-print" type="select" url_param="wpv-download-oder-print" default_label="Download oder Print?"]

We have more information about the shortcode options for this filter here:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-control-post-taxonomy