Skip Navigation

[Resolved] url parameter options

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

Problem:
can I check IF the name for the URL PARAMETER is fixed as " wpv-wpcf-field-name " ?
OR I can just rename it as I like ?
Solution:
No, the URL parameter name isn't fixed, you can choose other name if you want, and if you modify the URL parameter name, you will need to change the attribute "url_param" in shortcode [wpv-control] too as same name
Relevant Documentation:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-control

This support ticket is created 7 years, 2 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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)

Author
Posts
#573117

Hi, Luo. good day. simple question I have.

can I check IF the name for the URL PARAMETER is fixed as " wpv-wpcf-field-name " ?
OR I can just rename it as I like ? what is the implicatios of this?

thanks

#573137

Dear C6410,

No, the URL parameter name isn't fixed, you can choose other name if you want, and if you modify the URL parameter name, you will need to change the attribute "url_param" in shortcode [wpv-control] too as same name, see our document:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-control
url_param: 'URL parameter name'

#573139

thanks in summary:

i enter example "property-type" in filter then
in shortcode [wpv-control-postmeta ...] that generated i addd url_param="property-type" again ?

#573150

Thanks.