With the Views plugin you can create different Views elements to display all your custom types and content on the front-end, without coding. You can also create powerful parametric searches and add pagination to your content lists.
When you ask for help or report issues, make sure to tell us the options of your View.
Viewing 15 topics - 1,231 through 1,245 (of 1,539 total)
Problem:
The user is filtering a view using a relationship field and a URL param. After filtering using AJAX, the view loses the filter because the URL parameter is not preserved.
Solution:
To fix this, we need to add a hidden field that will keep the value of the URL param. This needs custom code such as:
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.