Tell us what you are trying to do?
show the wpv-view for a specific custom post
Is there any documentation that you are following?
https://toolset.com/documentation/user-guides/passing-arguments-to-views/
Is there a similar example that we can see?
https://toolset.com/forums/topic/how-to-create-a-taxonomy-view-that-uses-the-post-title-automatically/
What is the link to your site?
hidden link
I have a select drop down list - see screenshot view1-select-dropdown
From the inspect screenshot you see that the list options have a link to the custom post for that plant
The wpv-view shortcode in Layouts for the custom post type: plants is:
<p>[wpv-view name="plant-common-names" wpvpostslug="[wpv-post-slug id='$current_page']"]</p>
see screenshot view3-plant-common-names.
This is from Loop Editor for the view.
[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<wpv-loop>
[wpv-post-title id='$current_page']
</wpv-loop>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
<strong>[wpml-string context="wpv-views"]No items found[/wpml-string]</strong>
[/wpv-no-items-found]
[wpv-layout-end]
This returns a screen saying "no items found"
Please can you explain how I can see the view for this plant
Thanks
David
Hi Christian, Thanks for your help - not being sarcastic - talking to you, explaining the problem, talking to myself, then finally after hours of googling I came across https://toolset.com/forums/topic/i-cant-filter-view-to-current-post/ from Nigel. Now all's working as requested - all my own work.
Thanks
David
Hi, it looks like your taxonomy Query Filter is set up to respond to a URL parameter "wpvpostslug", but your URLs use a different URL parameter, "plant". Try modifying the View's Query Filter to respond to the URL parameter "plant" instead of "wpvpostslug" and let me know if you're still not able to see the results.