Skip Navigation

[Resuelto] url parameter options

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

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 hace 7 años, 2 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Autor
Mensajes
#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.