Skip Navigation

[Resolved] wpv-view with id post as parameter is possible?

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 6 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

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 6 years, 9 months ago.

Assisted by: Christian Cox.

Author
Posts
#542065

I am trying to do this:

<?php echo do_shortcode('[wpv-view name="proyectDetail" id="169"]') ?>

when the id is the id of specific post

#542135

Hi, can you explain in more detail what the "id" parameter should do? If you review the shortcode documentation here, you will see that "id" is not listed:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-view

So if you want to pass a specific post's ID in for use by your View or its Query Filters, you can use shortcode parameters or URL parameters. We have a post with more information about that here:
https://toolset.com/documentation/user-guides/passing-arguments-to-views/

Please let me know if I have misunderstood what you want to accomplish.

The forum ‘Types Community Support’ is closed to new topics and replies.

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