Tell us what you are trying to do?
- I have a custom field (radio button), And I want to display a view filtered by this custom field as a shortcode attribute.
When I insert a custom field as a shortcode attribute I start to receive 0 items.
here is an example of a view shortcode I use {!{wpv-view name='viewname' shortcodeattribute='Custom Field Value'}!}
Is there any documentation that you are following?
- https://toolset.com/documentation/user-guides/views/filtering-views-by-custom-fields/
What is the link to your site?
- hidden link
Hello and thank you for contacting the Toolset support.
Please check this article on how to pass arguments to views https://toolset.com/documentation/user-guides/views/passing-arguments-to-views/
I would like to know have you added the relevant custom field Query Filter to your view at the Query Filter section? It would be great if you can send me a full edit screenshot of your view.
To better help you with this, I'll need to know which values are saved for each radio button option. Can you take a screenshot of the field definition in the fields group?
My issue is resolved now. Thank you!