Sauter la navigation

[Résolu] Passing argument to content template

This support ticket is created Il y a 4 années et 7 mois. 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 – 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 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Marqué : 

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par David Gimenez Il y a 4 années et 7 mois.

Assisté par: Shane.

Auteur
Publications
#1659831

Hi There.

I want to pass wpv-post-id to content template.

I have this and works perfect: [wpv-post-body view_template="template-for-immobles" id="1299"]

Now I want to use post id passed with url parameter like as lien caché

Is it possible? I'm trying to get this without any results! -> [wpv-post-body view_template="template-for-immobles" id="ficha-id"]

How can I get this?

Thanks in advanced!

#1660433

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi David,

Thank you for getting in touch.

You can try doing this.


[wpv-post-body view_template="template-for-immobles" id="[wpv-search-term param='ficha-id']"]

Please let me know if this helps.
Thanks,
Shane

#1660491

Hi Shane.

Your answer solves my problem. and your answer.

Thanks a lot for your time.

My issue is resolved now. Thank you!