Views is a WordPress plugin that lets you easily display content on your website's front-end in any way you choose.
Views User Guides include detailed documentation for creating lists of content, templates for content and archive page and also explain how to create parametric searches for any content type.
When you ask for help or report issues, make sure to tell us the versions of the Toolset plugins that you have installed and activated.
Viewing 15 topics - 2,836 through 2,850 (of 3,158 total)
Problem: I would like to output an index value when looping over a repeating field instanced with wpv-for-each.
Solution: You'll need a custom shortcode to do this. Add the following custom shortcode definition in your child theme's functions.php file, or in a new snippet in Toolset > Settings > Custom Code.
The issue here is that the user's template was displaying without any auto paragraphs.
Solution:
From checking it would appear that the issue is unique to only this user's site. Given that they are using our Legacy Layouts plugin, the recommendation was to switch to using our Blocks plugin as they can achieve the exact same layout with blocks as well as their auto-paragraphs worked when using blocks.
Problem:
The user created a conditional shortcode that was not working as expected.
Solution:
It turned out that the user was checking a custom field in a related post. This can't be done, we can only check for custom fields of the current post, or we need to use the item attribute to change the post that we are checking.
Or we can pass the custom field in a view shortcode argument then check it using the [wpv-attribute] shortcode.